[arch-projects] [PATCH] shutdown: add a shutdown hook
teg at jklm.no
Fri Jul 22 08:58:41 EDT 2011
On Fri, Jul 22, 2011 at 1:45 PM, Tom Gundersen <teg at jklm.no> wrote:
> Enabling the shutdown hook and using systemd v31
> (which is yet to be released), means that on shutdown the root
> will be pivoted to /run/initramfs, from where the rootfs and
> all its submonuts (such as /usr) are unmounted cleanly.
Looks like I made a mistake. This only works with busybox from
[community], not with mkinitcpio-busybox from [core].
It looks like there are two problematic differences: our busybox does
not come with "tr", and the --install function creates symlinkes to
/bin/busybox, rather than to the calling binary
(/run/initramfs/bin/busybox, in this case).
I'll post a new patch once I have sorted this out.
More information about the arch-projects