[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
This commit is contained in:
Victor Lowther 2009-02-13 04:42:52 -08:00 committed by Dave Jones
parent ec1ad3347c
commit 4b3f76dbe2

1
dracut
View File

@ -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.