From 94c357ca23ae62375a8beb5fd5a85e339397c0ee Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Thu, 15 Jun 2023 17:31:23 +0200 Subject: [PATCH] mkosi: Update to latest We now run repart before starting systemd-nspawn to make sure that the root partition is also generated when we boot the image in a container instead of a VM. To make sure we start from scratch for both the container boot and the VM boot, we also enable Ephemeral to make sure all changes to the image are ephemeral. --- .github/workflows/mkosi.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/mkosi.yml b/.github/workflows/mkosi.yml index 2b5f204f7a6..9a71bc64634 100644 --- a/.github/workflows/mkosi.yml +++ b/.github/workflows/mkosi.yml @@ -76,7 +76,7 @@ jobs: steps: - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab - - uses: systemd/mkosi@87a6b70ea9ab529b95fc91306fc8151175999dca + - uses: systemd/mkosi@77cde8a1252767ffc448bfb0fa237fb586a689a2 - name: Configure run: | @@ -100,6 +100,7 @@ jobs: [Host] ExtraSearchPaths=!* QemuVsock=yes + Ephemeral=yes EOF # For erofs, we have to install linux-modules-extra-azure, but that doesn't match the running kernel