summaryrefslogtreecommitdiff
path: root/test/TEST-13-ENC-RAID-LVM/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/TEST-13-ENC-RAID-LVM/test.sh')
-rwxr-xr-xtest/TEST-13-ENC-RAID-LVM/test.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/TEST-13-ENC-RAID-LVM/test.sh b/test/TEST-13-ENC-RAID-LVM/test.sh
index ae3f8706..2071a082 100755
--- a/test/TEST-13-ENC-RAID-LVM/test.sh
+++ b/test/TEST-13-ENC-RAID-LVM/test.sh
@@ -39,6 +39,7 @@ test_setup() {
. $basedir/dracut-functions
dracut_install sfdisk mke2fs poweroff cp umount
inst_simple ./create-root.sh /initqueue/01create-root.sh
+ inst_simple ./99-idesymlinks.rules /etc/udev/rules.d/99-idesymlinks.rules
)
# create an initramfs that will create the target root filesystem.
@@ -46,7 +47,7 @@ test_setup() {
# devices, volume groups, encrypted partitions, etc.
$basedir/dracut -l -i overlay / \
-m "dash crypt lvm mdraid udev-rules base rootfs-block kernel-modules" \
- -d "ata_piix ext2 sd_mod" \
+ -d "piix ide-gd_mod ata_piix ext2 sd_mod" \
-f initramfs.makeroot $KVERSION || return 1
rm -rf overlay
# Invoke KVM and/or QEMU to actually create the target filesystem.
@@ -60,12 +61,13 @@ test_setup() {
. $basedir/dracut-functions
dracut_install poweroff shutdown
inst_simple ./hard-off.sh /emergency/01hard-off.sh
+ inst_simple ./99-idesymlinks.rules /etc/udev/rules.d/99-idesymlinks.rules
inst ./cryptroot-ask /sbin/cryptroot-ask
)
sudo $basedir/dracut -l -i overlay / \
-o "plymouth" \
-a "debug" \
- -d "ata_piix ext2 sd_mod" \
+ -d "piix ide-gd_mod ata_piix ext2 sd_mod" \
-f initramfs.testing $KVERSION || return 1
}