]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Add `mkosi.packages/` for `PackageDirectories=`
authorMichael Ferrari <nekkodroid404@gmail.com>
Sun, 14 Apr 2024 22:30:47 +0000 (00:30 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 15 Apr 2024 05:59:21 +0000 (07:59 +0200)
mkosi/config.py
mkosi/resources/mkosi.md

index 09a1694c6c45895029d021c3e4faa882b302aba8..cb819b73913b2d6fc787d58ad4a9f0e0ab5487a8 100644 (file)
@@ -2127,6 +2127,7 @@ SETTINGS = (
         metavar="PATH",
         section="Content",
         parse=config_make_list_parser(delimiter=",", parse=make_path_parser()),
+        paths=("mkosi.packages",),
         help="Specify a directory containing extra packages",
     ),
     ConfigSetting(
index 27c8718541561df6652deb736cfd1c7f9f90aa38..ad3fad545e5e61691b33ec8c5bfced0175d3fc68 100644 (file)
@@ -965,7 +965,8 @@ boolean argument: either `1`, `yes`, or `true` to enable, or `0`, `no`,
 : Specify directories containing extra packages to be made available during
   the build. `mkosi` will create a local repository containing all
   packages in these directories and make it available when installing packages or
-  running scripts.
+  running scripts. If the `mkosi.packages/` directory is found in the local
+  directory it is also used for this purpose.
 
 : Note that this local repository is also made available when running
   scripts. Build scripts can add more packages to the local repository