Skip to contentSkip to conversation

Use inst to install hooks.

PATCH In review initramfs mailing list 1 participant 1 message Feb 16, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 34/50 Use inst to install hooks.

Gitweb:     http://git.kernel.org/?p=linux/kernel/git/davej/dracut.git;a=commit;h=4b3f76dbe2f57c847c4804150be367abf5ffd574
Commit:     4b3f76dbe2f57c847c4804150be367abf5ffd574
Parent:     ec1ad3347c423f27dd546858032a73edccbcc806
Author:     Victor Lowther <[email protected]>
AuthorDate: Fri Feb 13 04:42:52 2009 -0800
Committer:  Dave Jones <[email protected]>
CommitDate: Mon Feb 16 13:56:42 2009 -0500

[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 files changed, 1 insertions(+), 0 deletions(-)
dracut +1 -0
index ecf58dc..aec20c0 100755
@@ -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.

--
To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html