22 Jul
2011
22 Jul
'11
2:58 p.m.
On Fri, Jul 22, 2011 at 1:45 PM, Tom Gundersen <teg@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. Cheers, Tom