]> git.ipfire.org Git - thirdparty/systemd.git/commit
mkosi: Stop passing package environment variables to tools image 36931/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 1 Apr 2025 12:57:22 +0000 (14:57 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 2 Apr 2025 08:34:03 +0000 (10:34 +0200)
commitce68d4349e0db866181c51a9a5d8a9432fa6d51a
tree8f1b8a0f0956c611ed8a0119df1018bf2be8996f
parent9ead378ba079d237f33ae25231e5fc92bce2b660
mkosi: Stop passing package environment variables to tools image

The tools image is not guaranteed to be the same distribution as the
target distribution and so might have different package environment
variables than the main image yet we currently unconditionally use the
same package environment variables for both of them.

Let's fix this by not passing the package environment variables to the
tools image and subimages anymore, and instead having the main, tools and
build images separately include a config file with the required environment
variables.
19 files changed:
.packit.yml
mkosi.conf
mkosi.conf.d/arch/mkosi.conf
mkosi.conf.d/arch/mkosi.conf.d/pkgenv.conf [new file with mode: 0644]
mkosi.conf.d/centos-fedora/mkosi.conf
mkosi.conf.d/centos-fedora/mkosi.conf.d/pkgenv.conf [new file with mode: 0644]
mkosi.conf.d/debian-ubuntu/mkosi.conf
mkosi.conf.d/debian-ubuntu/mkosi.conf.d/pkgenv.conf [new file with mode: 0644]
mkosi.conf.d/opensuse/mkosi.conf
mkosi.conf.d/opensuse/mkosi.conf.d/pkgenv.conf [new file with mode: 0644]
mkosi.images/build/mkosi.conf.d/arch/mkosi.conf
mkosi.images/build/mkosi.conf.d/centos-fedora/mkosi.conf
mkosi.images/build/mkosi.conf.d/debian-ubuntu/mkosi.conf
mkosi.images/build/mkosi.conf.d/opensuse/mkosi.conf
mkosi.tools.conf/mkosi.conf.d/arch.conf
mkosi.tools.conf/mkosi.conf.d/centos-fedora.conf
mkosi.tools.conf/mkosi.conf.d/debian-ubuntu.conf
mkosi.tools.conf/mkosi.conf.d/opensuse.conf
tools/fetch-distro.py