Skip to content

Commit 5692f87

Browse files
test: Run TEST-64-UDEV-STORAGE with mkosi
We add a configure script for each subtest to add the required qemu arguments. Co-authored-by: Richard Maw <[email protected]>
1 parent 8e8a1b8 commit 5692f87

File tree

25 files changed

+419
-23
lines changed

25 files changed

+419
-23
lines changed

mkosi.images/system/mkosi.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ Packages=
4242
kmod
4343
knot
4444
less
45+
lvm2
4546
man
47+
mdadm
4648
mtools
4749
nano
4850
nftables

mkosi.images/system/mkosi.conf.d/10-arch/mkosi.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ Packages=
3030
iputils
3131
linux
3232
man-db
33+
multipath-tools
34+
open-iscsi
3335
openbsd-netcat
3436
openssh
3537
openssl
@@ -44,6 +46,7 @@ Packages=
4446
shadow
4547
squashfs-tools
4648
stress
49+
tgt
4750
tpm2-tools
4851
tpm2-tss
4952
vim

mkosi.images/system/mkosi.conf.d/10-centos-fedora/mkosi.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ Packages=
2424
bind-utils
2525
bpftool
2626
cryptsetup
27+
device-mapper-event
28+
device-mapper-multipath
2729
dfuzzer
2830
dhcp-server
2931
dnf
@@ -35,7 +37,9 @@ Packages=
3537
iproute
3638
iproute-tc
3739
iputils
40+
iscsi-initiator-utils
3841
kernel-core
42+
kernel-modules # For squashfs and megasas2
3943
libasan
4044
libcap-ng-utils
4145
libubsan

mkosi.images/system/mkosi.conf.d/10-centos/mkosi.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,3 @@ RepartDirectories=mkosi.repart
99
[Content]
1010
Packages=
1111
rpmautospec-rpm-macros
12-
kernel-modules # For squashfs

mkosi.images/system/mkosi.conf.d/10-debian-ubuntu/mkosi.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ Packages=
5454
libtss2-tcti-device0
5555
locales
5656
man-db
57+
multipath-tools
5758
netcat-openbsd
59+
open-iscsi
5860
openssh-client
5961
openssh-server
6062
passwd
@@ -66,6 +68,7 @@ Packages=
6668
sbsigntool
6769
squashfs-tools
6870
stress
71+
tgt
6972
tpm2-tools
7073
tzdata
7174
xxd

mkosi.images/system/mkosi.conf.d/10-debian/mkosi.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,7 @@
22

33
[Match]
44
Distribution=debian
5+
6+
[Content]
7+
Packages=
8+
linux-image-generic

mkosi.images/system/mkosi.conf.d/10-debian/mkosi.conf.d/amd64.conf

Lines changed: 0 additions & 8 deletions
This file was deleted.

mkosi.images/system/mkosi.conf.d/10-debian/mkosi.conf.d/arm64.conf

Lines changed: 0 additions & 8 deletions
This file was deleted.

mkosi.images/system/mkosi.conf.d/10-fedora/mkosi.conf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ Distribution=fedora
77
Packages=
88
btrfs-progs
99
compsize
10-
f2fs-tools
1110
dnf5
11+
f2fs-tools
12+
scsi-target-utils
1213

1314
InitrdPackages=
1415
btrfs-progs

mkosi.images/system/mkosi.conf.d/10-opensuse/mkosi.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ Packages=
5050
libasan8
5151
libkmod2
5252
libubsan1
53+
multipath-tools
54+
open-iscsi
5355
openssh-clients
5456
openssh-server
5557
pam
@@ -65,6 +67,7 @@ Packages=
6567
sed
6668
shadow
6769
squashfs
70+
tgt
6871
timezone
6972
tpm2.0-tools
7073
user(bin)

0 commit comments

Comments
 (0)