summaryrefslogtreecommitdiff
path: root/test/TEST-14-IMSM
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2011-03-25 13:31:34 +0100
committerHarald Hoyer <harald@redhat.com>2011-03-25 16:10:46 +0100
commit0b53ca70b6bafbbed2c484208faba3100c448746 (patch)
treed8e5c8503c82b2288afd486115eaac972dfb0556 /test/TEST-14-IMSM
parentc9f1e3d1f47c9749494a108ecedfa5b4fc6f7d41 (diff)
downloaddracut-0b53ca70b6bafbbed2c484208faba3100c448746.tar.gz
dracut-0b53ca70b6bafbbed2c484208faba3100c448746.tar.bz2
dracut-0b53ca70b6bafbbed2c484208faba3100c448746.zip
Move all hooks to "$hookdir"
hookdir=/lib/dracut/hooks for now, to keep the root directory clean
Diffstat (limited to 'test/TEST-14-IMSM')
-rwxr-xr-xtest/TEST-14-IMSM/test.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/TEST-14-IMSM/test.sh b/test/TEST-14-IMSM/test.sh
index 738f8e9a..59120b58 100755
--- a/test/TEST-14-IMSM/test.sh
+++ b/test/TEST-14-IMSM/test.sh
@@ -64,7 +64,7 @@ test_setup() {
initdir=overlay
. $basedir/dracut-functions
dracut_install sfdisk mke2fs poweroff cp umount
- inst_simple ./create-root.sh /initqueue/01create-root.sh
+ inst_hook initqueue 01 ./create-root.sh
inst_simple ./99-idesymlinks.rules /etc/udev/rules.d/99-idesymlinks.rules
)
@@ -86,7 +86,7 @@ test_setup() {
initdir=overlay
. $basedir/dracut-functions
dracut_install poweroff shutdown
- inst_simple ./hard-off.sh /emergency/000-hard-off.sh
+ inst_hook emergency 000 ./hard-off.sh
inst_simple ./99-idesymlinks.rules /etc/udev/rules.d/99-idesymlinks.rules
)
sudo $basedir/dracut -l -i overlay / \