File tree Expand file tree Collapse file tree 6 files changed +11
-12
lines changed
modules.d/80test-makeroot Expand file tree Collapse file tree 6 files changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,11 @@ check() {
6
6
}
7
7
8
8
depends () {
9
- echo " qemu"
9
+ echo " dash rootfs-block kernel-modules qemu"
10
+ }
11
+
12
+ installkernel () {
13
+ instmods piix ide-gd_mod ata_piix ext4 sd_mod
10
14
}
11
15
12
16
install () {
Original file line number Diff line number Diff line change @@ -37,8 +37,7 @@ test_setup() {
37
37
# We do it this way so that we do not risk trashing the host mdraid
38
38
# devices, volume groups, encrypted partitions, etc.
39
39
" $basedir " /dracut.sh -l -i " $TESTDIR " /overlay / \
40
- -m " test-makeroot dash rootfs-block kernel-modules" \
41
- -d " piix ide-gd_mod ata_piix ext4 sd_mod" \
40
+ -m " test-makeroot" \
42
41
-I " mkfs.ext4" \
43
42
-i ./create-root.sh /lib/dracut/hooks/initqueue/01-create-root.sh \
44
43
--nomdadmconf \
Original file line number Diff line number Diff line change @@ -39,8 +39,7 @@ test_setup() {
39
39
# We do it this way so that we do not risk trashing the host mdraid
40
40
# devices, volume groups, encrypted partitions, etc.
41
41
" $basedir " /dracut.sh -l -i " $TESTDIR " /overlay / \
42
- -m " test-makeroot dash rootfs-block kernel-modules qemu" \
43
- -d " piix ide-gd_mod ata_piix ext4 sd_mod" \
42
+ -m " test-makeroot" \
44
43
-I " mkfs.ext4" \
45
44
-i ./create-root.sh /lib/dracut/hooks/initqueue/01-create-root.sh \
46
45
--nomdadmconf \
Original file line number Diff line number Diff line change @@ -56,8 +56,7 @@ test_setup() {
56
56
# We do it this way so that we do not risk trashing the host mdraid
57
57
# devices, volume groups, encrypted partitions, etc.
58
58
" $basedir " /dracut.sh -l -i " $TESTDIR " /overlay / \
59
- -m " test-makeroot dash btrfs rootfs-block kernel-modules" \
60
- -d " piix ide-gd_mod ata_piix btrfs sd_mod" \
59
+ -m " test-makeroot" \
61
60
-I " mkfs.btrfs" \
62
61
-i ./create-root.sh /lib/dracut/hooks/initqueue/01-create-root.sh \
63
62
--nomdadmconf \
Original file line number Diff line number Diff line change 117
117
# We do it this way so that we do not risk trashing the host mdraid
118
118
# devices, volume groups, encrypted partitions, etc.
119
119
" $basedir " /dracut.sh -l -i " $TESTDIR " /overlay / \
120
- -m " test-makeroot bash btrfs rootfs-block kernel-modules qemu" \
121
- -d " piix ide-gd_mod ata_piix btrfs sd_mod" \
122
- -I " mkfs.btrfs btrfs sync" \
120
+ -m " test-makeroot bash btrfs" \
121
+ -I " mkfs.btrfs" \
123
122
-i ./create-root.sh /lib/dracut/hooks/initqueue/01-create-root.sh \
124
123
--nomdadmconf \
125
124
--nohardlink \
Original file line number Diff line number Diff line change @@ -71,8 +71,7 @@ test_setup() {
71
71
# We do it this way so that we do not risk trashing the host mdraid
72
72
# devices, volume groups, encrypted partitions, etc.
73
73
" $basedir " /dracut.sh -l -i " $TESTDIR " /overlay / \
74
- --modules " test-makeroot rootfs-block qemu" \
75
- --drivers " ext4 sd_mod" \
74
+ --modules " test-makeroot" \
76
75
--install " sfdisk mkfs.ext4 mksquashfs" \
77
76
--include ./create-root.sh /lib/dracut/hooks/initqueue/01-create-root.sh \
78
77
--no-hostonly --no-hostonly-cmdline --no-early-microcode --nofscks --nomdadmconf --nohardlink --nostrip \
You can’t perform that action at this time.
0 commit comments