mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
Merge pull request #32766 from DaanDeMeyer/test
Various test improvements
This commit is contained in:
2
.github/workflows/mkosi.yml
vendored
2
.github/workflows/mkosi.yml
vendored
@@ -71,7 +71,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
|
||||
- uses: systemd/mkosi@22d212dcb229b553572578ef16c809f9a9961ee8
|
||||
- uses: systemd/mkosi@55f17a8ae67ece9712324c3107804daad94ad0d9
|
||||
|
||||
# Freeing up disk space with rm -rf can take multiple minutes. Since we don't need the extra free space
|
||||
# immediately, we remove the files in the background. However, we first move them to a different location
|
||||
|
||||
@@ -40,6 +40,9 @@ KernelCommandLine=systemd.crash_shell
|
||||
panic=-1
|
||||
softlockup_panic=1
|
||||
panic_on_warn=1
|
||||
# These don't ship proper units with [Install] directives so we have to mask them instead.
|
||||
systemd.mask=isc-dhcp-server.service
|
||||
systemd.mask=mdmonitor.service
|
||||
|
||||
[Host]
|
||||
Credentials=journal.storage=persistent
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
[Config]
|
||||
Dependencies=minimal-base
|
||||
ConfigureScripts=
|
||||
|
||||
[Distribution]
|
||||
CacheOnly=always
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
[Config]
|
||||
Dependencies=minimal-base
|
||||
ConfigureScripts=
|
||||
|
||||
[Distribution]
|
||||
CacheOnly=always
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
[Config]
|
||||
ConfigureScripts=
|
||||
|
||||
[Output]
|
||||
Format=directory
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ ExtraTrees=
|
||||
%O/minimal-1.root-%a.raw:/usr/share/minimal_1.raw
|
||||
%O/minimal-1.root-%a-verity.raw:/usr/share/minimal_1.verity
|
||||
%O/minimal-1.root-%a-verity-sig.raw:/usr/share/minimal_1.verity.sig
|
||||
%O/minimal-base:/usr/share/testsuite-13-container-template
|
||||
%O/minimal-base:/usr/share/TEST-13-NSPAWN-container-template
|
||||
|
||||
Packages=
|
||||
acl
|
||||
@@ -42,7 +42,9 @@ Packages=
|
||||
kmod
|
||||
knot
|
||||
less
|
||||
lvm2
|
||||
man
|
||||
mdadm
|
||||
mtools
|
||||
nano
|
||||
nftables
|
||||
|
||||
@@ -30,6 +30,8 @@ Packages=
|
||||
iputils
|
||||
linux
|
||||
man-db
|
||||
multipath-tools
|
||||
open-iscsi
|
||||
openbsd-netcat
|
||||
openssh
|
||||
openssl
|
||||
@@ -44,6 +46,7 @@ Packages=
|
||||
shadow
|
||||
squashfs-tools
|
||||
stress
|
||||
tgt
|
||||
tpm2-tools
|
||||
tpm2-tss
|
||||
vim
|
||||
|
||||
@@ -24,6 +24,8 @@ Packages=
|
||||
bind-utils
|
||||
bpftool
|
||||
cryptsetup
|
||||
device-mapper-event
|
||||
device-mapper-multipath
|
||||
dfuzzer
|
||||
dhcp-server
|
||||
dnf
|
||||
@@ -35,7 +37,9 @@ Packages=
|
||||
iproute
|
||||
iproute-tc
|
||||
iputils
|
||||
iscsi-initiator-utils
|
||||
kernel-core
|
||||
kernel-modules # For squashfs and megasas2
|
||||
libasan
|
||||
libcap-ng-utils
|
||||
libubsan
|
||||
|
||||
@@ -9,4 +9,3 @@ RepartDirectories=mkosi.repart
|
||||
[Content]
|
||||
Packages=
|
||||
rpmautospec-rpm-macros
|
||||
kernel-modules # For squashfs
|
||||
|
||||
@@ -54,7 +54,9 @@ Packages=
|
||||
libtss2-tcti-device0
|
||||
locales
|
||||
man-db
|
||||
multipath-tools
|
||||
netcat-openbsd
|
||||
open-iscsi
|
||||
openssh-client
|
||||
openssh-server
|
||||
passwd
|
||||
@@ -66,6 +68,7 @@ Packages=
|
||||
sbsigntool
|
||||
squashfs-tools
|
||||
stress
|
||||
tgt
|
||||
tpm2-tools
|
||||
tzdata
|
||||
xxd
|
||||
|
||||
@@ -2,3 +2,7 @@
|
||||
|
||||
[Match]
|
||||
Distribution=debian
|
||||
|
||||
[Content]
|
||||
Packages=
|
||||
linux-image-generic
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
[Match]
|
||||
Architecture=x86-64
|
||||
|
||||
[Content]
|
||||
Packages=
|
||||
linux-image-cloud-amd64
|
||||
@@ -1,8 +0,0 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
[Match]
|
||||
Architecture=arm64
|
||||
|
||||
[Content]
|
||||
Packages=
|
||||
linux-image-cloud-arm64
|
||||
@@ -7,8 +7,9 @@ Distribution=fedora
|
||||
Packages=
|
||||
btrfs-progs
|
||||
compsize
|
||||
f2fs-tools
|
||||
dnf5
|
||||
f2fs-tools
|
||||
scsi-target-utils
|
||||
|
||||
InitrdPackages=
|
||||
btrfs-progs
|
||||
|
||||
@@ -50,6 +50,8 @@ Packages=
|
||||
libasan8
|
||||
libkmod2
|
||||
libubsan1
|
||||
multipath-tools
|
||||
open-iscsi
|
||||
openssh-clients
|
||||
openssh-server
|
||||
pam
|
||||
@@ -65,6 +67,7 @@ Packages=
|
||||
sed
|
||||
shadow
|
||||
squashfs
|
||||
tgt
|
||||
timezone
|
||||
tpm2.0-tools
|
||||
user(bin)
|
||||
|
||||
1
mkosi.images/system/mkosi.extra/.autorelabel
Normal file
1
mkosi.images/system/mkosi.extra/.autorelabel
Normal file
@@ -0,0 +1 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
3
mkosi.images/system/mkosi.extra/etc/iscsi/iscsid.conf
Normal file
3
mkosi.images/system/mkosi.extra/etc/iscsi/iscsid.conf
Normal file
@@ -0,0 +1,3 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
iscsid.startup = /usr/bin/systemctl start iscsid.socket
|
||||
@@ -31,3 +31,6 @@ disable auditd.service
|
||||
|
||||
# systemd-timesyncd is not enabled by default in the default systemd preset so enable it here instead.
|
||||
enable systemd-timesyncd.service
|
||||
|
||||
# Skipped if selinux is not enabled, required for TEST-06-SELINUX.
|
||||
enable autorelabel.service
|
||||
|
||||
7
test/TEST-01-BASIC/meson.build
Normal file
7
test/TEST-01-BASIC/meson.build
Normal file
@@ -0,0 +1,7 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
integration_tests += [
|
||||
integration_test_template + {
|
||||
'name' : 'TEST-01-BASIC',
|
||||
},
|
||||
]
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user