From: Victor Lowther Date: Fri, 13 Feb 2009 12:42:52 +0000 (-0800) Subject: [PATCH 34/50] Use inst to install hooks. X-Git-Tag: 0.1~444 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4b3f76dbe2f57c847c4804150be367abf5ffd574;p=thirdparty%2Fdracut.git [PATCH 34/50] Use inst to install hooks. This will ensure that pathname mangling is handled correctly, and that whatever interpreter is handling /bin/sh is installed as /bin/sh --- diff --git a/dracut b/dracut index ecf58dcb2..aec20c0a2 100755 --- 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.