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.
steps:
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
- - uses: systemd/mkosi@87a6b70ea9ab529b95fc91306fc8151175999dca
+ - uses: systemd/mkosi@77cde8a1252767ffc448bfb0fa237fb586a689a2
- name: Configure
run: |
[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