Don't load commands into the initrd that are built in to bash.
PATCH 8/50 Don't load commands into the initrd that are built in to bash.
Gitweb: http://git.kernel.org/?p=linux/kernel/git/davej/dracut.git;a=commit;h=70c26b7fce5f1cddbd82863c371caaf20b299706 Commit: 70c26b7fce5f1cddbd82863c371caaf20b299706 Parent: 8b691309de20bb20c064cf8c9bd3502a9eddc76a Author: Victor Lowther <[email protected]> AuthorDate: Fri Feb 13 04:41:50 2009 -0800 Committer: Dave Jones <[email protected]> CommitDate: Mon Feb 16 13:56:40 2009 -0500
[PATCH 08/50] Don't load commands into the initrd that are built in to bash.
No sense in loading commands that will never be used.
--- dracut | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
dracut +2 -1
@@ -4,6 +4,7 @@ # Tries to retain some degree of compatibility with the command line # of the various mkinitrd implementations out there # + # Copyright 2008, Red Hat, Inc. Jeremy Katz <[email protected]> # GPLv2 header here
@@ -66,7 +67,7 @@ fi initdir=$(mktemp -d -t initramfs.XXXXXX) # executables that we have to have -exe="/bin/bash /bin/mount /bin/mknod /bin/mkdir /sbin/modprobe /sbin/udevd /sbin/udevadm /sbin/nash /bin/kill /sbin/pidof /bin/sleep /bin/echo /usr/sbin/chroot" +exe="/bin/bash /bin/mount /bin/mknod /bin/mkdir /sbin/modprobe /sbin/udevd /sbin/udevadm /sbin/nash /sbin/pidof /bin/sleep /usr/sbin/chroot" lvmexe="/sbin/lvm" cryptexe="/sbin/cryptsetup" # and some things that are nice for debugging
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html