]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
mkosi: Enable History= option (#36500)
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 25 Feb 2025 11:44:41 +0000 (12:44 +0100)
committerGitHub <noreply@github.com>
Tue, 25 Feb 2025 11:44:41 +0000 (12:44 +0100)
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.


Trivial merge