Blame SOURCES/0234-test-add-fs-lib-to-dracut-module-list.patch

a56a5e
From c984ddda6a41c57f579c6d06fdc7e767395e41ac Mon Sep 17 00:00:00 2001
a56a5e
From: Harald Hoyer <harald@redhat.com>
a56a5e
Date: Fri, 24 Oct 2014 13:19:34 +0200
a56a5e
Subject: [PATCH] test: add "fs-lib" to dracut module list
a56a5e
a56a5e
(cherry picked from commit eda73c0ad2cfc6a9bc8dc429b1a6fcd873e3e1c2)
a56a5e
---
a56a5e
 test/TEST-01-BASIC/test.sh        | 2 +-
a56a5e
 test/TEST-02-SYSTEMD/test.sh      | 2 +-
a56a5e
 test/TEST-03-USR-MOUNT/test.sh    | 2 +-
a56a5e
 test/TEST-04-FULL-SYSTEMD/test.sh | 2 +-
a56a5e
 test/TEST-10-RAID/test.sh         | 4 ++--
a56a5e
 test/TEST-11-LVM/test.sh          | 2 +-
a56a5e
 test/TEST-12-RAID-DEG/test.sh     | 2 +-
a56a5e
 test/TEST-13-ENC-RAID-LVM/test.sh | 2 +-
a56a5e
 test/TEST-14-IMSM/test.sh         | 2 +-
a56a5e
 test/TEST-15-BTRFSRAID/test.sh    | 2 +-
a56a5e
 test/TEST-17-LVM-THIN/test.sh     | 2 +-
a56a5e
 test/TEST-20-NFS/test.sh          | 2 +-
a56a5e
 test/TEST-40-NBD/test.sh          | 4 ++--
a56a5e
 test/TEST-50-MULTINIC/test.sh     | 2 +-
a56a5e
 14 files changed, 16 insertions(+), 16 deletions(-)
a56a5e
a56a5e
diff --git a/test/TEST-01-BASIC/test.sh b/test/TEST-01-BASIC/test.sh
a56a5e
index 5ee6d23..02ebc23 100755
a56a5e
--- a/test/TEST-01-BASIC/test.sh
a56a5e
+++ b/test/TEST-01-BASIC/test.sh
a56a5e
@@ -62,7 +62,7 @@ test_setup() {
a56a5e
     # We do it this way so that we do not risk trashing the host mdraid
a56a5e
     # devices, volume groups, encrypted partitions, etc.
a56a5e
     $basedir/dracut.sh -l -i $TESTDIR/overlay / \
a56a5e
-	-m "dash udev-rules base rootfs-block kernel-modules" \
a56a5e
+	-m "dash udev-rules base rootfs-block fs-lib kernel-modules fs-lib" \
a56a5e
 	-d "piix ide-gd_mod ata_piix ext3 sd_mod" \
a56a5e
         --nomdadmconf \
a56a5e
 	-f $TESTDIR/initramfs.makeroot $KVERSION || return 1
a56a5e
diff --git a/test/TEST-02-SYSTEMD/test.sh b/test/TEST-02-SYSTEMD/test.sh
a56a5e
index 2ccf8e6..2a8ed6b 100755
a56a5e
--- a/test/TEST-02-SYSTEMD/test.sh
a56a5e
+++ b/test/TEST-02-SYSTEMD/test.sh
a56a5e
@@ -58,7 +58,7 @@ test_setup() {
a56a5e
     # We do it this way so that we do not risk trashing the host mdraid
a56a5e
     # devices, volume groups, encrypted partitions, etc.
a56a5e
     $basedir/dracut.sh -l -i $TESTDIR/overlay / \
a56a5e
-	-m "dash udev-rules base rootfs-block kernel-modules" \
a56a5e
+	-m "dash udev-rules base rootfs-block fs-lib kernel-modules" \
a56a5e
 	-d "piix ide-gd_mod ata_piix ext3 sd_mod" \
a56a5e
         --nomdadmconf \
a56a5e
 	-f $TESTDIR/initramfs.makeroot $KVERSION || return 1
a56a5e
diff --git a/test/TEST-03-USR-MOUNT/test.sh b/test/TEST-03-USR-MOUNT/test.sh
a56a5e
index ef74d40..b8231fe 100755
a56a5e
--- a/test/TEST-03-USR-MOUNT/test.sh
a56a5e
+++ b/test/TEST-03-USR-MOUNT/test.sh
a56a5e
@@ -89,7 +89,7 @@ test_setup() {
a56a5e
     # We do it this way so that we do not risk trashing the host mdraid
a56a5e
     # devices, volume groups, encrypted partitions, etc.
a56a5e
     $basedir/dracut.sh -l -i $TESTDIR/overlay / \
a56a5e
-	-m "dash udev-rules btrfs base rootfs-block kernel-modules" \
a56a5e
+	-m "dash udev-rules btrfs base rootfs-block fs-lib kernel-modules" \
a56a5e
 	-d "piix ide-gd_mod ata_piix btrfs sd_mod" \
a56a5e
         --nomdadmconf \
a56a5e
         --nohardlink \
a56a5e
diff --git a/test/TEST-04-FULL-SYSTEMD/test.sh b/test/TEST-04-FULL-SYSTEMD/test.sh
a56a5e
index 3eeb840..aa83122 100755
a56a5e
--- a/test/TEST-04-FULL-SYSTEMD/test.sh
a56a5e
+++ b/test/TEST-04-FULL-SYSTEMD/test.sh
a56a5e
@@ -232,7 +232,7 @@ EOF
a56a5e
     # We do it this way so that we do not risk trashing the host mdraid
a56a5e
     # devices, volume groups, encrypted partitions, etc.
a56a5e
     $basedir/dracut.sh -l -i $TESTDIR/overlay / \
a56a5e
-	-m "dash udev-rules btrfs base rootfs-block kernel-modules" \
a56a5e
+	-m "dash udev-rules btrfs base rootfs-block fs-lib kernel-modules" \
a56a5e
 	-d "piix ide-gd_mod ata_piix btrfs sd_mod" \
a56a5e
         --nomdadmconf \
a56a5e
         --nohardlink \
a56a5e
diff --git a/test/TEST-10-RAID/test.sh b/test/TEST-10-RAID/test.sh
a56a5e
index b17e912..d79d5cd 100755
a56a5e
--- a/test/TEST-10-RAID/test.sh
a56a5e
+++ b/test/TEST-10-RAID/test.sh
a56a5e
@@ -5,7 +5,7 @@ KVERSION=${KVERSION-$(uname -r)}
a56a5e
 
a56a5e
 # Uncomment this to debug failures
a56a5e
 #DEBUGFAIL="rd.shell rd.udev.log-priority=debug loglevel=70 systemd.log_target=kmsg"
a56a5e
-#DEBUGFAIL="rd.break rd.shell"
a56a5e
+#DEBUGFAIL="rd.break rd.shell rd.debug debug"
a56a5e
 test_run() {
a56a5e
     DISKIMAGE=$TESTDIR/TEST-10-RAID-root.img
a56a5e
     $testdir/run-qemu \
a56a5e
@@ -60,7 +60,7 @@ test_setup() {
a56a5e
     # We do it this way so that we do not risk trashing the host mdraid
a56a5e
     # devices, volume groups, encrypted partitions, etc.
a56a5e
     $basedir/dracut.sh -l -i $TESTDIR/overlay / \
a56a5e
-	-m "dash crypt lvm mdraid udev-rules base rootfs-block kernel-modules" \
a56a5e
+	-m "dash crypt lvm mdraid udev-rules base rootfs-block fs-lib kernel-modules" \
a56a5e
 	-d "piix ide-gd_mod ata_piix ext2 sd_mod" \
a56a5e
         --nomdadmconf \
a56a5e
 	-f $TESTDIR/initramfs.makeroot $KVERSION || return 1
a56a5e
diff --git a/test/TEST-11-LVM/test.sh b/test/TEST-11-LVM/test.sh
a56a5e
index 6f2461c..732d0c8 100755
a56a5e
--- a/test/TEST-11-LVM/test.sh
a56a5e
+++ b/test/TEST-11-LVM/test.sh
a56a5e
@@ -57,7 +57,7 @@ test_setup() {
a56a5e
     # We do it this way so that we do not risk trashing the host mdraid
a56a5e
     # devices, volume groups, encrypted partitions, etc.
a56a5e
     $basedir/dracut.sh -l -i $TESTDIR/overlay / \
a56a5e
-	-m "dash lvm mdraid udev-rules base rootfs-block kernel-modules" \
a56a5e
+	-m "dash lvm mdraid udev-rules base rootfs-block fs-lib kernel-modules" \
a56a5e
 	-d "piix ide-gd_mod ata_piix ext2 sd_mod" \
a56a5e
 	-f $TESTDIR/initramfs.makeroot $KVERSION || return 1
a56a5e
     rm -rf -- $TESTDIR/overlay
a56a5e
diff --git a/test/TEST-12-RAID-DEG/test.sh b/test/TEST-12-RAID-DEG/test.sh
a56a5e
index 2631621..87fe542 100755
a56a5e
--- a/test/TEST-12-RAID-DEG/test.sh
a56a5e
+++ b/test/TEST-12-RAID-DEG/test.sh
a56a5e
@@ -98,7 +98,7 @@ test_setup() {
a56a5e
     # We do it this way so that we do not risk trashing the host mdraid
a56a5e
     # devices, volume groups, encrypted partitions, etc.
a56a5e
     $basedir/dracut.sh -l -i $TESTDIR/overlay / \
a56a5e
-	-m "dash crypt lvm mdraid udev-rules base rootfs-block kernel-modules" \
a56a5e
+	-m "dash crypt lvm mdraid udev-rules base rootfs-block fs-lib kernel-modules" \
a56a5e
 	-d "piix ide-gd_mod ata_piix ext2 sd_mod" \
a56a5e
 	-f $TESTDIR/initramfs.makeroot $KVERSION || return 1
a56a5e
     rm -rf -- $TESTDIR/overlay
a56a5e
diff --git a/test/TEST-13-ENC-RAID-LVM/test.sh b/test/TEST-13-ENC-RAID-LVM/test.sh
a56a5e
index 5102142..129620b 100755
a56a5e
--- a/test/TEST-13-ENC-RAID-LVM/test.sh
a56a5e
+++ b/test/TEST-13-ENC-RAID-LVM/test.sh
a56a5e
@@ -94,7 +94,7 @@ test_setup() {
a56a5e
     # We do it this way so that we do not risk trashing the host mdraid
a56a5e
     # devices, volume groups, encrypted partitions, etc.
a56a5e
     $basedir/dracut.sh -l -i $TESTDIR/overlay / \
a56a5e
-	-m "dash crypt lvm mdraid udev-rules base rootfs-block kernel-modules" \
a56a5e
+	-m "dash crypt lvm mdraid udev-rules base rootfs-block fs-lib kernel-modules" \
a56a5e
 	-d "piix ide-gd_mod ata_piix ext2 sd_mod" \
a56a5e
 	-f $TESTDIR/initramfs.makeroot $KVERSION || return 1
a56a5e
     rm -rf -- $TESTDIR/overlay
a56a5e
diff --git a/test/TEST-14-IMSM/test.sh b/test/TEST-14-IMSM/test.sh
a56a5e
index 532c348..ad0cf7b 100755
a56a5e
--- a/test/TEST-14-IMSM/test.sh
a56a5e
+++ b/test/TEST-14-IMSM/test.sh
a56a5e
@@ -86,7 +86,7 @@ test_setup() {
a56a5e
     # We do it this way so that we do not risk trashing the host mdraid
a56a5e
     # devices, volume groups, encrypted partitions, etc.
a56a5e
     $basedir/dracut.sh -l -i $TESTDIR/overlay / \
a56a5e
-	-m "dash lvm mdraid dmraid udev-rules base rootfs-block kernel-modules" \
a56a5e
+	-m "dash lvm mdraid dmraid udev-rules base rootfs-block fs-lib kernel-modules" \
a56a5e
 	-d "piix ide-gd_mod ata_piix ext2 sd_mod dm-multipath dm-crypt dm-round-robin faulty linear multipath raid0 raid10 raid1 raid456" \
a56a5e
 	-f $TESTDIR/initramfs.makeroot $KVERSION || return 1
a56a5e
     rm -rf -- $TESTDIR/overlay
a56a5e
diff --git a/test/TEST-15-BTRFSRAID/test.sh b/test/TEST-15-BTRFSRAID/test.sh
a56a5e
index 3fc1d45..71f5703 100755
a56a5e
--- a/test/TEST-15-BTRFSRAID/test.sh
a56a5e
+++ b/test/TEST-15-BTRFSRAID/test.sh
a56a5e
@@ -58,7 +58,7 @@ test_setup() {
a56a5e
     # We do it this way so that we do not risk trashing the host mdraid
a56a5e
     # devices, volume groups, encrypted partitions, etc.
a56a5e
     $basedir/dracut.sh -l -i $TESTDIR/overlay / \
a56a5e
-	-m "dash btrfs udev-rules base rootfs-block kernel-modules" \
a56a5e
+	-m "dash btrfs udev-rules base rootfs-block fs-lib kernel-modules" \
a56a5e
 	-d "piix ide-gd_mod ata_piix btrfs sd_mod" \
a56a5e
         --nomdadmconf \
a56a5e
 	-f $TESTDIR/initramfs.makeroot $KVERSION || return 1
a56a5e
diff --git a/test/TEST-17-LVM-THIN/test.sh b/test/TEST-17-LVM-THIN/test.sh
a56a5e
index 0cfce19..4c904b0 100755
a56a5e
--- a/test/TEST-17-LVM-THIN/test.sh
a56a5e
+++ b/test/TEST-17-LVM-THIN/test.sh
a56a5e
@@ -57,7 +57,7 @@ test_setup() {
a56a5e
     # We do it this way so that we do not risk trashing the host mdraid
a56a5e
     # devices, volume groups, encrypted partitions, etc.
a56a5e
     $basedir/dracut.sh -l -i $TESTDIR/overlay / \
a56a5e
-	-m "dash lvm mdraid udev-rules base rootfs-block kernel-modules" \
a56a5e
+	-m "dash lvm mdraid udev-rules base rootfs-block fs-lib kernel-modules" \
a56a5e
 	-d "piix ide-gd_mod ata_piix ext2 sd_mod" \
a56a5e
 	-f $TESTDIR/initramfs.makeroot $KVERSION || return 1
a56a5e
     rm -rf -- $TESTDIR/overlay
a56a5e
diff --git a/test/TEST-20-NFS/test.sh b/test/TEST-20-NFS/test.sh
a56a5e
index 4f21d45..7b5e3c5 100755
a56a5e
--- a/test/TEST-20-NFS/test.sh
a56a5e
+++ b/test/TEST-20-NFS/test.sh
a56a5e
@@ -340,7 +340,7 @@ test_setup() {
a56a5e
 
a56a5e
     # Make server's dracut image
a56a5e
     $basedir/dracut.sh -l -i $TESTDIR/overlay / \
a56a5e
-        -m "dash udev-rules base rootfs-block debug kernel-modules watchdog" \
a56a5e
+        -m "dash udev-rules base rootfs-block fs-lib debug kernel-modules watchdog" \
a56a5e
         -d "af_packet piix ide-gd_mod ata_piix ext3 sd_mod e1000 i6300esb" \
a56a5e
         -f $TESTDIR/initramfs.server $KVERSION || return 1
a56a5e
 
a56a5e
diff --git a/test/TEST-40-NBD/test.sh b/test/TEST-40-NBD/test.sh
a56a5e
index 7cf64b1..59494ed 100755
a56a5e
--- a/test/TEST-40-NBD/test.sh
a56a5e
+++ b/test/TEST-40-NBD/test.sh
a56a5e
@@ -226,7 +226,7 @@ make_encrypted_root() {
a56a5e
     # We do it this way so that we do not risk trashing the host mdraid
a56a5e
     # devices, volume groups, encrypted partitions, etc.
a56a5e
     $basedir/dracut.sh -l -i $TESTDIR/overlay / \
a56a5e
-        -m "dash crypt lvm mdraid udev-rules base rootfs-block kernel-modules" \
a56a5e
+        -m "dash crypt lvm mdraid udev-rules base rootfs-block fs-lib kernel-modules" \
a56a5e
         -d "piix ide-gd_mod ata_piix ext2 ext3 sd_mod" \
a56a5e
         -f $TESTDIR/initramfs.makeroot $KVERSION || return 1
a56a5e
     rm -rf -- $TESTDIR/overlay
a56a5e
@@ -352,7 +352,7 @@ test_setup() {
a56a5e
     )
a56a5e
 
a56a5e
     sudo $basedir/dracut.sh -l -i $TESTDIR/overlay / \
a56a5e
-        -m "dash udev-rules rootfs-block base debug kernel-modules" \
a56a5e
+        -m "dash udev-rules rootfs-block fs-lib base debug kernel-modules" \
a56a5e
         -d "af_packet piix ide-gd_mod ata_piix ext2 ext3 sd_mod e1000" \
a56a5e
         -f $TESTDIR/initramfs.server $KVERSION || return 1
a56a5e
 
a56a5e
diff --git a/test/TEST-50-MULTINIC/test.sh b/test/TEST-50-MULTINIC/test.sh
a56a5e
index add849c..3c6003b 100755
a56a5e
--- a/test/TEST-50-MULTINIC/test.sh
a56a5e
+++ b/test/TEST-50-MULTINIC/test.sh
a56a5e
@@ -264,7 +264,7 @@ test_setup() {
a56a5e
 
a56a5e
     # Make server's dracut image
a56a5e
     $basedir/dracut.sh -l -i "$TESTDIR"/overlay / \
a56a5e
-        -m "dash udev-rules base rootfs-block debug kernel-modules watchdog" \
a56a5e
+        -m "dash udev-rules base rootfs-block fs-lib debug kernel-modules watchdog" \
a56a5e
         -d "af_packet piix ide-gd_mod ata_piix ext3 sd_mod nfsv2 nfsv3 nfsv4 nfs_acl nfs_layout_nfsv41_files nfsd e1000 i6300esb ib700wdt" \
a56a5e
         -f "$TESTDIR"/initramfs.server "$KVERSION" || return 1
a56a5e