From: Victor Lowther Date: Fri, 13 Feb 2009 12:41:50 +0000 (-0800) Subject: [PATCH 08/50] Don't load commands into the initrd that are built in to bash. X-Git-Tag: 0.1~470 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=70c26b7fce5f1cddbd82863c371caaf20b299706;p=thirdparty%2Fdracut.git [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. --- diff --git a/dracut b/dracut index ef2ca4200..0fe028279 100755 --- a/dracut +++ b/dracut @@ -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 # 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