Browse Source

[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.
master
Victor Lowther 16 years ago committed by Dave Jones
parent
commit
70c26b7fce
  1. 3
      dracut

3
dracut

@ -4,6 +4,7 @@ @@ -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 <katzj@redhat.com>
# GPLv2 header here

@ -66,7 +67,7 @@ fi @@ -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

Loading…
Cancel
Save