Skip to content

Commit 7273d16

Browse files
authored
Merge pull request #32766 from DaanDeMeyer/test
Various test improvements
2 parents 3c0a1b1 + 5692f87 commit 7273d16

File tree

482 files changed

+1693
-1299
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

482 files changed

+1693
-1299
lines changed

.github/workflows/mkosi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171

7272
steps:
7373
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
74-
- uses: systemd/mkosi@22d212dcb229b553572578ef16c809f9a9961ee8
74+
- uses: systemd/mkosi@55f17a8ae67ece9712324c3107804daad94ad0d9
7575

7676
# Freeing up disk space with rm -rf can take multiple minutes. Since we don't need the extra free space
7777
# immediately, we remove the files in the background. However, we first move them to a different location

mkosi.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ KernelCommandLine=systemd.crash_shell
4040
panic=-1
4141
softlockup_panic=1
4242
panic_on_warn=1
43+
# These don't ship proper units with [Install] directives so we have to mask them instead.
44+
systemd.mask=isc-dhcp-server.service
45+
systemd.mask=mdmonitor.service
4346

4447
[Host]
4548
Credentials=journal.storage=persistent

mkosi.images/minimal-0/mkosi.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
[Config]
44
Dependencies=minimal-base
5+
ConfigureScripts=
56

67
[Distribution]
78
CacheOnly=always

mkosi.images/minimal-1/mkosi.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
[Config]
44
Dependencies=minimal-base
5+
ConfigureScripts=
56

67
[Distribution]
78
CacheOnly=always

mkosi.images/minimal-base/mkosi.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# SPDX-License-Identifier: LGPL-2.1-or-later
22

3+
[Config]
4+
ConfigureScripts=
5+
36
[Output]
47
Format=directory
58

mkosi.images/system/mkosi.conf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ ExtraTrees=
2020
%O/minimal-1.root-%a.raw:/usr/share/minimal_1.raw
2121
%O/minimal-1.root-%a-verity.raw:/usr/share/minimal_1.verity
2222
%O/minimal-1.root-%a-verity-sig.raw:/usr/share/minimal_1.verity.sig
23-
%O/minimal-base:/usr/share/testsuite-13-container-template
23+
%O/minimal-base:/usr/share/TEST-13-NSPAWN-container-template
2424

2525
Packages=
2626
acl
@@ -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

0 commit comments

Comments
 (0)