From: Daan De Meyer Date: Wed, 2 Oct 2024 16:48:27 +0000 (+0200) Subject: Drop %p profile specifier X-Git-Tag: v25~244^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F3097%2Fhead;p=thirdparty%2Fmkosi.git Drop %p profile specifier Doesn't make sense anymore now that profiles is a list. --- diff --git a/mkosi/config.py b/mkosi/config.py index 565860f2e..abac5df54 100644 --- a/mkosi/config.py +++ b/mkosi/config.py @@ -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), diff --git a/mkosi/resources/man/mkosi.1.md b/mkosi/resources/man/mkosi.1.md index 9d5dbaa14..7b181267a 100644 --- a/mkosi/resources/man/mkosi.1.md +++ b/mkosi/resources/man/mkosi.1.md @@ -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: diff --git a/mkosi/resources/man/mkosi.news.7.md b/mkosi/resources/man/mkosi.news.7.md index 1d55dbdb7..bffaf366d 100644 --- a/mkosi/resources/man/mkosi.news.7.md +++ b/mkosi/resources/man/mkosi.news.7.md @@ -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.