]> git.ipfire.org Git - thirdparty/systemd.git/commit
mkosi: Disable BuildSourcesEphemeral= 36646/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 6 Mar 2025 22:20:59 +0000 (23:20 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 7 Mar 2025 14:28:53 +0000 (15:28 +0100)
commit2e6a041376a60f26b297f92a41df3125f75c62fb
treea28b424421767a69f2a6c316b7de28be575cb9e0
parent3a16b0287378336507111e028d0af0004fd8c8d9
mkosi: Disable BuildSourcesEphemeral=

Let's stop using BuildSourcesEphemeral= and instead make sure we don't
generate any auxiliary files during the mkosi build process.

We achieve this through a combination of trap to remove any new files
we create and bind mounts from /tmp over existing files whenever we need
to modify an existing file.

We also add a CI step to ensure we don't regress
.github/workflows/mkosi.yml
mkosi.clangd
mkosi.conf.d/20-build.conf
mkosi.images/build/mkosi.conf.d/arch/mkosi.build.chroot
mkosi.images/build/mkosi.conf.d/centos-fedora/mkosi.build.chroot
mkosi.images/build/mkosi.conf.d/centos-fedora/mkosi.prepare
mkosi.images/build/mkosi.conf.d/debian-ubuntu/mkosi.build.chroot
mkosi.images/build/mkosi.conf.d/opensuse/mkosi.build.chroot
test/integration-test-wrapper.py