mkosi: Adapt configuration to take into account configuration rework

In https://github.com/systemd/mkosi/pull/2847, the '@' specifier is
removed, CLI arguments take priority over configuration files again
and the "main" image is defined at the top level instead of in
mkosi.images/. Additionally, not every setting from the top level
configuration is inherited by the images in mkosi.images/ anymore,
only settings which make sense to be inherited are inherited.

This commit gets rid of all the usages of '@', moves the "main" image
configuration from mkosi.images/system to the top level and gets rid
of various hacks we had in place to deal with quirks of the old
configuration parsing logic.

We also remove usages of Images= and --append as these options are
removed by the mentioned PR.
This commit is contained in:
Daan De Meyer
2024-07-09 08:07:09 +02:00
parent bffd3c52ad
commit 20345a86b7
84 changed files with 144 additions and 211 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ image all the time when iterating on a patch, add the following to
```conf
[Host]
@RuntimeBuildSources=yes
RuntimeBuildSources=yes
```
After enabling this setting, the source and build directories will be mounted to