]> git.ipfire.org Git - thirdparty/mkosi.git/commit
Don't allow configuring distribution, release and mirror in tools tree config 3641/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 1 Apr 2025 18:37:52 +0000 (20:37 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 1 Apr 2025 18:56:59 +0000 (20:56 +0200)
commit47db064110a1d19f52ae8d6fa680d0edeaef84e3
tree8ddebf53599037233429609746b6ffc926ede08f
parent27e5f335e8066073055fcc9b8c16d4fb4b6c7827
Don't allow configuring distribution, release and mirror in tools tree config

config_default_repository_key_check() depends on ToolsTreeDistribution=
to select the right default. If the tools tree distribution is configured
in mkosi.tools.conf, we're unable to select the right default for
RepositoryKeyCheck= for the main image. Until we figure out a decent solution
for this, let's insist that the tools tree distribution is configured via
ToolsTreeDistribution=.

Similarly, selecting the default tools tree mirror depends on the selected
target distribution and mirror, so we insist on configuring the tools tree
mirror and release via ToolsTreeMirror= and ToolsTreeRelease= for now.
mkosi/config.py
tests/test_config.py