diff options
author | Lennart Poettering <lennart@poettering.net> | 2021-03-23 16:10:31 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-03-31 10:46:22 +0200 |
commit | 9a515f0a55318d6db49be1f67fe7d3a7f8a3002c (patch) | |
tree | e0000a1a61c0fc2929e532acaea9d474f66dd634 /man/tmpfiles.d.xml | |
parent | e8726796296e86f05d3845911f93407d7122e270 (diff) | |
download | systemd-9a515f0a55318d6db49be1f67fe7d3a7f8a3002c.tar.gz |
shared: add new IMAGE_VERSION=/IMAGE_ID= field to /etc/os-release
This specifes two new optional fields for /etc/os-release:
IMAGE_VERSION= and IMAGE_ID= that are supposed to identify the image of
the current booted system by name and version.
This is inspired by the versioning stuff in
https://github.com/systemd/mkosi/pull/683.
In environments where pre-built images are installed and updated as a
whole the existing os-release version/distro identifier are not
sufficient to describe the system's version, as they describe only the
distro an image is built from, but not the image itself, even if that
image is deployed many times on many systems, and even if that image
contains more resources than just the RPMs/DEBs.
In particular, "mkosi" is a tool for building disk images based on
distro RPMs with additional resources dropped in. The combination of all
of these together with their versions should also carry an identifier
and version, and that's what IMAGE_VERSION= and IMAGE_ID= is supposed to
be.
Diffstat (limited to 'man/tmpfiles.d.xml')
-rw-r--r-- | man/tmpfiles.d.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/man/tmpfiles.d.xml b/man/tmpfiles.d.xml index 4adbf6bb0a..55b763e26d 100644 --- a/man/tmpfiles.d.xml +++ b/man/tmpfiles.d.xml @@ -635,6 +635,7 @@ w- /proc/sys/vm/swappiness - - - - 10</programlisting></para> </thead> <tbody> <xi:include href="standard-specifiers.xml" xpointer="a"/> + <xi:include href="standard-specifiers.xml" xpointer="A"/> <xi:include href="standard-specifiers.xml" xpointer="b"/> <xi:include href="standard-specifiers.xml" xpointer="B"/> <row> @@ -665,6 +666,7 @@ w- /proc/sys/vm/swappiness - - - - 10</programlisting></para> <entry>In <option>--user</option> mode, this is the same as <varname>$XDG_CONFIG_HOME</varname> with <filename index="false">/log</filename> appended, and <filename>/var/log</filename> otherwise.</entry> </row> <xi:include href="standard-specifiers.xml" xpointer="m"/> + <xi:include href="standard-specifiers.xml" xpointer="M"/> <xi:include href="standard-specifiers.xml" xpointer="o"/> <row> <entry><literal>%S</literal></entry> |