From: Daan De Meyer Date: Wed, 29 Nov 2023 20:39:42 +0000 (+0100) Subject: Fix ImageId= docs X-Git-Tag: v20~120 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fed730d4b86cb7f30ecfe12ee74c780f61fc8ab1;p=thirdparty%2Fmkosi.git Fix ImageId= docs - We don't patch it into partition labels anymore - We already patch os-release ourselves so let's not use it as an example of what to do with $IMAGE_ID for users. --- diff --git a/mkosi/resources/mkosi.md b/mkosi/resources/mkosi.md index 1c1f45613..b1a141d2a 100644 --- a/mkosi/resources/mkosi.md +++ b/mkosi/resources/mkosi.md @@ -674,13 +674,9 @@ boolean argument: either `1`, `yes`, or `true` to enable, or `0`, `no`, : Configure the image identifier. This accepts a freeform string that shall be used to identify the image with. If set the default output - file will be named after it (possibly suffixed with the version). If - this option is used the root, `/usr/` and Verity partitions in the - image will have their labels set to this (possibly suffixed by the - image version). The identifier is also passed via the `$IMAGE_ID` to - any build scripts invoked (which may be useful to patch it into - `/etc/os-release` or similar, in particular the `IMAGE_ID=` field of - it). + file will be named after it (possibly suffixed with the version). The + identifier is also passed via the `$IMAGE_ID` to any build scripts + invoked. The image ID is automatically added to /usr/lib/os-release. `SplitArtifacts=`, `--split-artifacts`