From: Daan De Meyer Date: Sun, 2 Apr 2023 15:24:57 +0000 (+0200) Subject: Drop [Partition] group X-Git-Tag: v15~268^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec3a873fe97b925c8bb5b2d3a3658cadc2a33249;p=thirdparty%2Fmkosi.git Drop [Partition] group Only remaining setting in it was BaseImage=, which fits better in [Content] so let's drop [Partition] and move BaseImage= to [Content]. --- diff --git a/mkosi.md b/mkosi.md index 0e1ad4458..bbe8fd162 100644 --- a/mkosi.md +++ b/mkosi.md @@ -733,10 +733,6 @@ a boolean argument: either "1", "yes", or "true" to enable, or "0", an `mkosi.nspawn` file found in the local directory it is automatically used for this purpose. - - -### [Partitions] Section - `BaseImage=`, `--base-image=` : Use the specified directory or file system image as the base image, diff --git a/mkosi/__init__.py b/mkosi/__init__.py index de517ebc1..4a864347e 100644 --- a/mkosi/__init__.py +++ b/mkosi/__init__.py @@ -1734,12 +1734,12 @@ def create_parser() -> ArgumentParserMkosi: type=Path, metavar="PATH", ) - - group = parser.add_argument_group("Partitions options") - group.add_argument('--base-image', - help='Use the given image as base (e.g. lower sysext layer)', - type=Path, - metavar='IMAGE') + group.add_argument( + '--base-image', + help='Use the given image as base (e.g. lower sysext layer)', + type=Path, + metavar='IMAGE' + ) group = parser.add_argument_group("Validation options") group.add_argument(