]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
[PATCH 34/50] Use inst to install hooks.
authorVictor Lowther <victor.lowther@gmail.com>
Fri, 13 Feb 2009 12:42:52 +0000 (04:42 -0800)
committerDave Jones <davej@redhat.com>
Mon, 16 Feb 2009 18:56:42 +0000 (13:56 -0500)
This will ensure that pathname mangling is handled correctly, and that
whatever interpreter is handling /bin/sh is installed as /bin/sh

dracut

diff --git a/dracut b/dracut
index ecf58dcb2cd2264e3ead6fd16032bb1c51205fd7..aec20c0a215058fdb4acc217a6458fed69a42c94 100755 (executable)
--- a/dracut
+++ b/dracut
@@ -37,6 +37,7 @@ initfile=$dsrc/init
 switchroot=$dsrc/switch_root
 rulesdir=$dsrc/rules.d
 echoer=$dsrc/echoer
+hookdirs="pre-udev pre-mount pre-pivot"
 
 initdir=$(mktemp -d -t initramfs.XXXXXX)
 trap 'rm -rf "$initdir"' 0 # clean up after ourselves no matter how we die.