[arch-projects] [PATCH] shutdown: add a shutdown hook

Thomas Bächler thomas at archlinux.org
Fri Jul 22 09:22:05 EDT 2011


Am 22.07.2011 15:10, schrieb Tom Gundersen:
> Looks easy to fix. Any objections to changing the mkinitrd-busybox config
> from:
> CONFIG_BUSYBOX_EXEC_PATH="/bin/busybox"
> # CONFIG_TR is not set
> to:
> CONFIG_BUSYBOX_EXEC_PATH="/proc/self/exe"
> CONFIG_TR=y
> 
> When busybox is installed in the initramfs, we have /proc/self/exe ->
> /bin/busybox, so it should not make a difference (though, I have not
> actually tried, will do later).

There was some reason I didn't do this, but I don't remember.

For the busybox install in [1], I called
 chroot "${DEINITRAMFS_PATH}" /bin/busybox --install -s

[1]
http://projects.archlinux.org/users/thomas/deinitramfs.git/tree/deinitramfs#n53

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-projects/attachments/20110722/072649e1/attachment.asc>


More information about the arch-projects mailing list