Daan De Meyer
fc4bac8162
mkosi: Add dependency to system image on minimal-base
...
The output is included as an extra tree so it should be a dependency,
even if it is pulled in transitively via minimal-0 and minimal-1
already.
2024-05-06 10:56:45 +02:00
Daan De Meyer
13686c0e58
mkosi: Install dbus policy required by TEST-23-UNIT-FILE
...
Co-authored-by: Richard Maw <richard.maw@codethink.co.uk >
2024-05-06 10:56:45 +02:00
Daan De Meyer
6817910e6f
mkosi: Remove /etc/default/keyboard if it exists
...
Required to make TEST-73-LOCALE pass on Ubuntu.
2024-05-06 10:56:45 +02:00
Daan De Meyer
7cf0efd8ec
mkosi: Make sure tmp.mount is not messed with on Debian/Ubuntu
...
We want /tmp to be a tmpfs so let's hack the debian packaging to
make sure that's the case until the debian packaging is fixed to
make /tmp a tmpfs for UPSTREAM=1 builds.
2024-05-06 10:56:45 +02:00
Daan De Meyer
5cb66ff5a1
mkosi: Install stress
...
Required for TEST-55-OOMD. Not available on opensuse.
2024-05-06 10:56:45 +02:00
Daan De Meyer
3c3e21fb64
mkosi: Install veritysetup
...
Only missing on CentOS/Fedora/OpenSUSE as in Arch/Debian/Ubuntu it's
part of the cryptsetup package which we already install.
Required for TEST-58-REPART.
2024-05-06 10:56:45 +02:00
Daan De Meyer
a82d897c3d
mkosi: Install dig
...
Required for TEST-75-RESOLVED
2024-05-06 10:56:45 +02:00
Daan De Meyer
2d93e534a3
mkosi: Install knot
...
Required for TEST-75-RESOLVED
2024-05-06 10:56:45 +02:00
Daan De Meyer
efbd22e476
mkosi: Use /etc/nsswitch.conf from repo in mkosi image
2024-05-06 10:56:45 +02:00
Daan De Meyer
ffda3c3de9
mkosi: Disable ext4's orphan_file feature for centos images
...
Not supported by e2fsck from centos. We also disable building repart
from source in CI as running it from the build directory means repart
will run mkfs.ext4 from the host which doesn't know about the orphan_file
feature causing it to fail.
2024-05-06 10:56:45 +02:00
Daan De Meyer
81af7ac925
mkosi: Enable udev debug logging in CI
...
It's very useful to debug race conditions with loop devices, so let's
enable the logging now that it goes to the journal and not to the
console.
2024-05-06 10:56:45 +02:00
Daan De Meyer
f09947661c
mkosi: Move sbsigntools to CentOS/Fedora shared configuration
...
sbsigntools was added to EPEL 9.
2024-05-06 10:56:45 +02:00
Daan De Meyer
9bf888faf1
mkosi: Drop glibc-langpack-en from Fedora specific packages
...
It's already added in the CentOS/Fedora shared configuration.
2024-05-06 10:56:45 +02:00
Daan De Meyer
89255c31a4
mkosi: Install dfuzzer on CentOS/Fedora images
...
Required for TEST-21-DFUZZER.
2024-05-06 10:56:45 +02:00
Daan De Meyer
1c329956e5
mkosi: Insist on KVM, VSOCK and TPM by default
...
By default mkosi will not run VMs with these features if they're not
available, but since various stuff in systemd makes use of these, let's
fail loudly if any of these are not available by default in systemd.
Users can still override these defaults locally if they wish.
2024-05-06 10:56:45 +02:00
Daan De Meyer
86e249f326
mkosi: Update to latest
2024-05-06 10:56:45 +02:00
Daan De Meyer
bdade5f597
test: Formatting fixes
2024-05-06 10:56:43 +02:00
Daan De Meyer
54d0507223
meson: Add missing spdx line
2024-05-05 14:49:21 +02:00
Daan De Meyer
ea07a6d45d
meson: Test installation fixes
...
Let's use the new follow_symlinks flag instead on newer meson to.
We also switch back to copying symlinks instead of following them
and add an exclude for 25-default.link which becomes dangling when
installed and recreate it manually instead.
2024-05-05 14:49:21 +02:00
Daan De Meyer
f779fd1f8f
meson: Set up git submodule update on post checkout as well
2024-05-05 14:49:21 +02:00
Daan De Meyer
69e02d94f5
meson: Remove --debug from mkosi arguments
...
The exit status issue for which we introduced this was fixed so
let's remove --debug again to make the meson output less verbose.
2024-05-05 14:49:21 +02:00
Luca Boccassi
72007bbc9b
Merge pull request #32588 from CodethinkLabs/mkosi-selinux
...
Add TEST-06-SELINUX to mkosi integration tests
2024-05-04 20:48:55 +02:00
Thayne McCombs
7df0297ac5
man/run0: Describe environment variables set ( #32622 )
...
* man/run0: Describe environment variables set
2024-05-04 12:06:16 +01:00
Frantisek Sumsal
568d97953b
test: replace Europe/Kiev with Europe/Kyiv
...
As the former is deprecated and might not be available (i.e. on Ubuntu
Noble it's only available after installing the tzdata-legacy package).
2024-05-04 12:52:49 +02:00
Daan De Meyer
2c93e5f002
journal: Serialize __MONOTONIC_TIMESTAMP metadata field as well
...
Otherwise the forwarded journals won't have any monotonic timestamps.
2024-05-03 20:24:50 +02:00