Files
systemd/mkosi.conf.d/20-build.conf
Daan De Meyer 2e6a041376 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
2025-03-07 15:28:53 +01:00

10 lines
202 B
Plaintext

# SPDX-License-Identifier: LGPL-2.1-or-later
# Add a dependency on the build image and make the build sources ephemeral unless NO_BUILD=1.
[Match]
Environment=!NO_BUILD=1
[Config]
Dependencies=build