mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
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
10 lines
202 B
Plaintext
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
|