From 4b3f76dbe2f57c847c4804150be367abf5ffd574 Mon Sep 17 00:00:00 2001 From: Victor Lowther Date: Fri, 13 Feb 2009 04:42:52 -0800 Subject: [PATCH] [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 --- dracut | 1 + 1 file changed, 1 insertion(+) diff --git a/dracut b/dracut index ecf58dcb..aec20c0a 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.