]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Fix ImageId= docs
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 29 Nov 2023 20:39:42 +0000 (21:39 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 29 Nov 2023 23:25:44 +0000 (00:25 +0100)
- 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.

mkosi/resources/mkosi.md

index 1c1f456131eeddaa3f47a56af68ea32440a6e1e4..b1a141d2ab6a72221c011b3f79ab79f4301b23a2 100644 (file)
@@ -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`