]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Move Include= setting to [Include] section
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 10 Sep 2024 11:59:00 +0000 (13:59 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 10 Sep 2024 12:08:51 +0000 (14:08 +0200)
This allows us to treat includes distinctly from other [Config]
settings in the next commit.

mkosi/config.py
mkosi/resources/man/mkosi.md

index a1e8ac762c3493301acfd738be2fdb7423668dcb..4d6e4a0c7798017dbdc9facc4605bcd833bcf301 100644 (file)
@@ -1878,7 +1878,7 @@ SETTINGS = (
     ConfigSetting(
         dest="include",
         short="-I",
-        section="Config",
+        section="Include",
         parse=config_make_list_parser(
             delimiter=",",
             reset=False,
index c4aa54db33fddc0a2b0974979699aaaff4cad6de..f0c7e7c28532b9dbe9121410d9976bdce28cf5ce 100644 (file)
@@ -1789,14 +1789,7 @@ config file is read:
 | `ToolsTreeDistribution=` | no    | no               | match default tools tree distribution |
 | `Environment=`           | no    | no               | n/a                                   |
 
-### [Config] Section
-
-`Profile=`, `--profile=`
-:   Select the given profile. A profile is a configuration file or
-    directory in the `mkosi.profiles/` directory. When selected, this
-    configuration file or directory is included after parsing the
-    `mkosi.conf` file, but before any `mkosi.conf.d/*.conf` drop in
-    configuration.
+### [Include]
 
 `Include=`, `--include=`, `-I`
 :   Include extra configuration from the given file or directory. The
@@ -1814,6 +1807,15 @@ config file is read:
     Note: Include names starting with either of the literals `mkosi-` or
     `contrib-` are reserved for use by mkosi itself.
 
+### [Config] Section
+
+`Profile=`, `--profile=`
+:   Select the given profile. A profile is a configuration file or
+    directory in the `mkosi.profiles/` directory. When selected, this
+    configuration file or directory is included after parsing the
+    `mkosi.conf` file, but before any `mkosi.conf.d/*.conf` drop in
+    configuration.
+
 `Dependencies=`, `--dependency=`
 :   The images that this image depends on specified as a comma-separated
     list. All images configured in this option will be built before this