Search Criteria
Package Details: reboot-arch-btw 0.9.2-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/reboot-arch-btw.git (read-only, click to copy) |
|---|---|
| Package Base: | reboot-arch-btw |
| Description: | Check if you need to reboot due to an updated kernel |
| Upstream URL: | https://github.com/rnestler/reboot-arch-btw |
| Licenses: | GPL-3.0-only |
| Replaces: | kernel-updated |
| Submitter: | rnestler |
| Maintainer: | rnestler |
| Last Packager: | rnestler |
| Votes: | 10 |
| Popularity: | 0.123694 |
| First Submitted: | 2019-11-19 21:57 (UTC) |
| Last Updated: | 2025-12-19 15:19 (UTC) |
Dependencies (4)
- dbus (dbus-gitAUR, dbus-selinuxAUR, dbus-nosystemd-gitAUR)
- pacman (pacman-fancy-gitAUR, pacman-gitAUR)
- cargo (rust-gitAUR, rust-beta-binAUR, rustup-gitAUR, rust, rustup) (make)
- rust (rust-gitAUR, rust-beta-binAUR, rustup-gitAUR, rustup) (make)
Latest Comments
rnestler commented on 2025-06-25 09:38 (UTC)
You're welcome :)
Thanks, fixed. I think it was the only way to specify before ArchLinux switched to SPDX license identifiers some time ago.
Also fixed.
I'm also the upstream maintainer. I'm thinking since quite some time how to best bundle the hooks in the package. See also https://github.com/rnestler/reboot-arch-btw/issues/33. I agree that not all users want the desktop notifications. So maybe just two example hooks in
/usr/share/doc?Regarding binary size / bloat: With 0.9.0 I could reduce the binary size by using libdbus instead of zbus. Due to dynamically linking to
libdbusit reduced binary size to2.3Mfrom4.2M.Regarding simplicity: If you just need the hook your solutions looks perfect. You may still want to distinguish between reboot and session restart, but this can be done by just using two hooks.
I mainly use it interactively, whenever I suspect that something broke due to kernel upgrade or at the end of the workday to decide if I power-off or suspend the laptop. Some users have a loop running in the background to get regular notifications that they should reboot or restart the session.
gesh commented on 2025-06-23 14:00 (UTC) (edited on 2025-06-23 14:01 (UTC) by gesh)
I agree with @abdulhakeem, though -- I'm probably not going to use this one for long, given it's probably doable with a simple awk script. Thinking on this a bit more, it might just be as simple as installing eg
gesh commented on 2025-06-23 13:52 (UTC)
Thanks for packaging this! A couple notes: - The license is, to be precise,
GPL-3.0-only(seeCargo.toml) - Instead ofmkdir; cpyou can useinstall -Dm, see the Rust packaging guidelines - It might be nice to package a sample hook (eg the one given by upstream inREADME.mdthat users can base themselves on (installed to/usr/share/doc/-- I'm not sure I'd enable it by default, since eg I disagree with upstream's default of using notifications, havingExec=/usr/bin/reboot-arch-btwinstead. Though you could always enable it by default and expect users to edit the package before installing)abdulhakeem commented on 2024-10-29 23:41 (UTC)
Such a massive install for such a small functionality lol oh well