Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#32541 - [mkinitcpio] doesn't ship kexec binary for shutdown logic
Attached to Project:
Arch Linux
Opened by Jan (medhefgo) - Thursday, 08 November 2012, 11:00 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Monday, 10 December 2012, 15:43 GMT
Opened by Jan (medhefgo) - Thursday, 08 November 2012, 11:00 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Monday, 10 December 2012, 15:43 GMT
|
Detailsmkinitcpio's shutdown hook has kexec logic, but it ultimately cannot work because it is missing the /sbin/kexec binary. This results in a normal reboot using "systemctl kexec".
On a side note: with a nifty 7.8MiB /run/initramfs could go on a diet. Cause quite some binaries aren't even used by the shutdown script, this should be possible. |
This task depends upon
Closed by Gerardo Exequiel Pozzi (djgera)
Monday, 10 December 2012, 15:43 GMT
Reason for closing: Implemented
Monday, 10 December 2012, 15:43 GMT
Reason for closing: Implemented
Patches welcome if you want to point out what else can be removed from the image. The hook already nukes the modules directory from the root, which is the bulk of most images. Note that "quite some binaries" are actually just symlinks back to busybox.
Will likely push this into the next feature release.