Skip to content

Commit

Permalink
Add specifier for profile
Browse files Browse the repository at this point in the history
  • Loading branch information
Cornelicorn authored and DaanDeMeyer committed Mar 19, 2024
1 parent 7a36ebe commit 53575a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions mkosi/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -1670,6 +1670,7 @@ def parse_ini(path: Path, only_sections: Collection[str] = ()) -> Iterator[tuple
ConfigSetting(
dest="profile",
section="Config",
specifier="p",
help="Build the specified profile",
parse=config_parse_profile,
match=config_make_string_matcher(),
Expand Down
1 change: 1 addition & 0 deletions mkosi/resources/mkosi.md
Original file line number Diff line number Diff line change
Expand Up @@ -1800,6 +1800,7 @@ use `%%`. The following specifiers are understood:
| `OutputDirectory=` | `%O` |
| `ImageId=` | `%i` |
| `ImageVersion=` | `%v` |
| `Profile=` | `%p` |

## Supported distributions

Expand Down

0 comments on commit 53575a1

Please sign in to comment.