dracut/0125-TEST-15-BTRFS-load-btrfs-module.patch

23 lines
806 B
Diff
Raw Normal View History

From c606be49d7f78c688f3b4696bc2b05adaf408ec9 Mon Sep 17 00:00:00 2001
From: Harald Hoyer <harald@redhat.com>
Date: Tue, 18 Aug 2015 15:26:23 +0200
Subject: [PATCH] TEST-15-BTRFS: load btrfs module
(cherry picked from commit d9b5a98532b6823adb35f7c68766f4df9db8a3c9)
---
test/TEST-15-BTRFSRAID/create-root.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/test/TEST-15-BTRFSRAID/create-root.sh b/test/TEST-15-BTRFSRAID/create-root.sh
index f4062f5..e95e57d 100755
--- a/test/TEST-15-BTRFSRAID/create-root.sh
+++ b/test/TEST-15-BTRFSRAID/create-root.sh
@@ -3,6 +3,7 @@
for x in 64-lvm.rules 70-mdadm.rules 99-mount-rules; do
> "/etc/udev/rules.d/$x"
done
+modprobe btrfs
udevadm control --reload
# save a partition at the beginning for future flagging purposes
sfdisk -X gpt /dev/sda <<EOF