mirror of
https://github.com/systemd/systemd.git
synced 2026-08-03 22:50:29 +00:00
Merge pull request #29035 from DaanDeMeyer/update-mkosi
mkosi: Update to latest
This commit is contained in:
26
.github/workflows/mkosi.yml
vendored
26
.github/workflows/mkosi.yml
vendored
@@ -54,9 +54,8 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
# Temporarily disabled due to keyring packaging issues
|
||||
# - distro: arch
|
||||
# release: rolling
|
||||
- distro: arch
|
||||
release: rolling
|
||||
- distro: debian
|
||||
release: testing
|
||||
- distro: ubuntu
|
||||
@@ -77,33 +76,44 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
|
||||
- uses: systemd/mkosi@0af3f8a35c3be0e54b20234be7ab478d25bcc740
|
||||
- uses: systemd/mkosi@cb5974d013f7c4c2a45f67c9ae990767e32e9034
|
||||
|
||||
- name: Configure
|
||||
run: |
|
||||
# We configure ExtraSearchPaths=build/ so make sure build/ exists.
|
||||
mkdir build/
|
||||
|
||||
tee mkosi.conf <<- EOF
|
||||
[Distribution]
|
||||
Distribution=${{ matrix.distro }}
|
||||
Release=${{ matrix.release }}
|
||||
EOF
|
||||
|
||||
tee mkosi.conf.d/99-ci.conf <<- EOF
|
||||
[Content]
|
||||
Environment=CI_BUILD=1
|
||||
SLOW_TESTS=true
|
||||
|
||||
[Output]
|
||||
[Host]
|
||||
KernelCommandLineExtra=systemd.unit=mkosi-check-and-shutdown.service
|
||||
systemd.journald.max_level_console=debug
|
||||
# udev's debug log output is very verbose, so up it to info in CI.
|
||||
udev.log_level=info
|
||||
# Root device can take a long time to appear, so let's bump the timeout.
|
||||
systemd.default_device_timeout_sec=180
|
||||
|
||||
[Host]
|
||||
ExtraSearchPaths=!*
|
||||
QemuVsock=yes
|
||||
Ephemeral=yes
|
||||
EOF
|
||||
|
||||
# TODO: Remove once archlinux-keyring is updated in ppa:michel-slm/kernel-utils.
|
||||
tee mkosi.conf.d/11-arch-keyring.conf <<- EOF
|
||||
[Match]
|
||||
Distribution=arch
|
||||
|
||||
[Distribution]
|
||||
RepositoryKeyCheck=no
|
||||
EOF
|
||||
|
||||
# For erofs, we have to install linux-modules-extra-azure, but that doesn't match the running kernel
|
||||
# version, so we can't load the erofs module. squashfs is a builtin module so we use that instead.
|
||||
|
||||
|
||||
@@ -8,4 +8,4 @@ Distribution=|arch
|
||||
Distribution=|centos
|
||||
|
||||
[Host]
|
||||
QemuMem=3G
|
||||
@QemuMem=3G
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
Distribution=centos
|
||||
|
||||
[Distribution]
|
||||
Release=9
|
||||
@Release=9
|
||||
Repositories=epel
|
||||
epel-next
|
||||
hyperscale-packages-main
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
Distribution=debian
|
||||
|
||||
[Distribution]
|
||||
Release=testing
|
||||
@Release=testing
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
Distribution=fedora
|
||||
|
||||
[Distribution]
|
||||
Release=38
|
||||
@Release=38
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
Distribution=opensuse
|
||||
|
||||
[Distribution]
|
||||
Release=tumbleweed
|
||||
@Release=tumbleweed
|
||||
|
||||
@@ -12,8 +12,8 @@ Environment=ASAN_OPTIONS=verify_asan_link_order=false
|
||||
MKOSI_UBSAN_OPTIONS=print_stacktrace=1:print_summary=1:halt_on_error=1
|
||||
|
||||
[Host]
|
||||
Incremental=yes
|
||||
QemuMem=2G
|
||||
@Incremental=yes
|
||||
@QemuMem=2G
|
||||
ExtraSearchPaths=build/
|
||||
# Make sure we don't trigger systemd-firstboot prompting for the root password.
|
||||
Credentials=passwd.plaintext-password.root=
|
||||
|
||||
@@ -4,5 +4,5 @@
|
||||
Distribution=ubuntu
|
||||
|
||||
[Distribution]
|
||||
Release=jammy
|
||||
@Release=jammy
|
||||
Repositories=universe
|
||||
|
||||
@@ -6,6 +6,8 @@ Format=directory
|
||||
[Content]
|
||||
Bootable=no
|
||||
CleanPackageMetadata=no
|
||||
|
||||
Packages=
|
||||
Packages=
|
||||
kmod
|
||||
less
|
||||
|
||||
@@ -14,6 +14,10 @@ Format=cpio
|
||||
BaseTrees=../../mkosi.output/base
|
||||
ExtraTrees=../../mkosi.output/base-systemd
|
||||
MakeInitrd=yes
|
||||
Bootable=no
|
||||
BuildPackages=
|
||||
|
||||
Packages=
|
||||
Packages=
|
||||
gzip
|
||||
systemd
|
||||
|
||||
@@ -44,6 +44,8 @@ Packages=
|
||||
xfsprogs
|
||||
zsh
|
||||
|
||||
BuildPackages=
|
||||
|
||||
[Validation]
|
||||
SecureBoot=yes
|
||||
SignExpectedPcr=yes
|
||||
|
||||
Reference in New Issue
Block a user