mirror of
https://github.com/systemd/systemd.git
synced 2025-03-04 20:58:28 +03:00
mkosi: Update to latest
Configuration now takes priority over CLI options so we have to configure the defaults for settings that we want to allow overriding from the CLI. We also explicitly set some other settings so that they can't be overridden from the CLI anymore. For example the base and initrd image should never be made bootable so we set Bootable=no explicitly for both.
This commit is contained in:
parent
16173ab1aa
commit
35356d7f3f
12
.github/workflows/mkosi.yml
vendored
12
.github/workflows/mkosi.yml
vendored
@ -76,29 +76,31 @@ 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
|
||||
|
@ -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=
|
||||
systemd
|
||||
udev
|
||||
|
@ -43,6 +43,8 @@ Packages=
|
||||
xfsprogs
|
||||
zsh
|
||||
|
||||
BuildPackages=
|
||||
|
||||
[Validation]
|
||||
SecureBoot=yes
|
||||
SignExpectedPcr=yes
|
||||
|
Loading…
x
Reference in New Issue
Block a user