diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2023-02-09 09:53:05 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-02-10 18:16:54 +0900 |
commit | c9853672a030cb27a802fce58e8e8b1fba26cd5d (patch) | |
tree | 2fce1bc5e73ca10d303443851627145d992bcec2 /.github/workflows/mkosi.yml | |
parent | 59833064742310bfccf028b0278811ba5cff8dcf (diff) | |
download | systemd-c9853672a030cb27a802fce58e8e8b1fba26cd5d.tar.gz |
mkosi: Update to latest
Let's make sure we're testing unprivileged builds properly. Usage
of SourceFileTransfer= and SourceFileTransferFinal= are removed as
they were dropped by mkosi. SourceFileTransfer=mount is now the
default in mkosi so behavior for the build script is unchanged. We
stop copying sources in the final image until mkosi adds support
for virtiofs.
Diffstat (limited to '.github/workflows/mkosi.yml')
-rw-r--r-- | .github/workflows/mkosi.yml | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/.github/workflows/mkosi.yml b/.github/workflows/mkosi.yml index 84f930abd1..9c5656d273 100644 --- a/.github/workflows/mkosi.yml +++ b/.github/workflows/mkosi.yml @@ -79,7 +79,7 @@ jobs: steps: - uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b - - uses: systemd/mkosi@500f93a36cc3d5bf1d06848a0a8870bf1424625f + - uses: systemd/mkosi@4be912b0fa4931403fddf649aa242cd4406471c4 - name: Configure run: | @@ -87,6 +87,7 @@ jobs: [Distribution] Distribution=${{ matrix.distro }} Release=${{ matrix.release }} + SecureBoot=yes [Content] Environment=CI_BUILD=1 @@ -96,13 +97,13 @@ jobs: EOF - name: Generate secure boot key - run: sudo mkosi genkey + run: mkosi genkey - name: Build ${{ matrix.distro }} - run: sudo mkosi --idmap no --secure-boot + run: mkosi - name: Show ${{ matrix.distro }} image summary - run: sudo mkosi summary + run: mkosi summary - name: Boot ${{ matrix.distro }} systemd-nspawn run: sudo mkosi boot ${{ env.KERNEL_CMDLINE }} audit=0 @@ -111,7 +112,7 @@ jobs: run: sudo mkosi shell bash -c "[[ -e /testok ]] || { cat /failed-services; exit 1; }" - name: Boot ${{ matrix.distro }} QEMU - run: sudo timeout -k 30 10m mkosi qemu + run: timeout -k 30 10m mkosi qemu - name: Check ${{ matrix.distro }} QEMU run: sudo mkosi shell bash -c "[[ -e /testok ]] || { cat /failed-services; exit 1; }" |