]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Drop %p profile specifier 3097/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 2 Oct 2024 16:48:27 +0000 (18:48 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 2 Oct 2024 16:48:27 +0000 (18:48 +0200)
Doesn't make sense anymore now that profiles is a list.

mkosi/config.py
mkosi/resources/man/mkosi.1.md
mkosi/resources/man/mkosi.news.7.md

index 565860f2e63f026d361985148e3edc85b9dcd0cd..abac5df54fcf8444ac4500bce295961083d9e7b5 100644 (file)
@@ -1995,7 +1995,6 @@ SETTINGS = (
         dest="profiles",
         long="--profile",
         section="Config",
-        specifier="p",
         help="Build the specified profiles",
         parse=config_make_list_parser(delimiter=",", parse=parse_profile),
         match=config_make_list_matcher(parse=parse_profile),
index 9d5dbaa14f251c26c166bba6e2f670d0e0a7c023..7b181267a916ced57083005a51eadaf4848c4fed 100644 (file)
@@ -1929,7 +1929,6 @@ use `%%`. The following specifiers are understood:
 | `OutputDirectory=` | `%O`      |
 | `ImageId=`         | `%i`      |
 | `ImageVersion=`    | `%v`      |
-| `Profile=`         | `%p`      |
 
 There are also specifiers that are independent of settings:
 
index 1d55dbdb7e7d6badb21c0b9be8572a8b42e977f7..bffaf366d8289fd82f3d96adb56f42b40e8af95c 100644 (file)
@@ -65,7 +65,8 @@
   matches on the configured profile instead.
 - `Profile=` is renamed to `Profiles=` and takes a comma separated list of
   profiles now. Scripts now receive `$PROFILES` with a space-separated list
-  of profiles instead of `$PROFILE`.
+  of profiles instead of `$PROFILE`. The `%p` specifier for profiles is
+  removed.
 - Multiple sync, prepare, build, postinst, finalize, postoutput and clean scripts are now picked up from
   `mkosi.$SCRIPT.d`.
 - `run0` is now automatically used to escalate privileges for commands that need it, like the `burn` verb.