]> git.ipfire.org Git - thirdparty/systemd.git/commit
mkosi: Enable History= option 36500/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 24 Feb 2025 09:56:26 +0000 (10:56 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 25 Feb 2025 09:59:50 +0000 (10:59 +0100)
commit75cf5b0d3a6045e72dacd90f90ae14fa6d817be1
tree2621f6aeeff8092814c7bac7a6a8c36fc5efc5b9
parent890e1ad3183458aa0337e4e6a1a9afa26d706e36
mkosi: Enable History= option

This option makes mkosi "remember" all the CLI options specified on
the command line when building an image. This means they don't need
to be specified again when booting the image afterwards or doing any
other operation on the image with "mkosi xxx".

As an example of how this is useful, currently, when running "mkosi
-d opensuse -f" to build an opensuse image and then running "mkosi
sandbox -- meson test -C build TEST-86-MULTI-UKI-PROFILE", running
the test will try to add virtiofs mounts of the fedora~rawhide build
directory on my machine instead of the opensuse one. With the History=
option enabled, it will use the opensuse tumbleweed directory as expected.

We stop setting --extra-search-path and --output-dir in the integration test
wrapper as these are settings that are "remembered" by enabling the History=
option.
mkosi.conf
test/integration-test-wrapper.py