summaryrefslogtreecommitdiff
path: root/man/standard-specifiers.xml
Commit message (Collapse)AuthorAgeFilesLines
* Add comments about deprecated specifiersZbigniew Jędrzejewski-Szmek2022-04-111-0/+3
| | | | | Inspired by 9fe20c3234. When the specifier is undocumented, it is really easy to add a duplicate definition in a different place.
* specifier: use %q for pretty hostnameLennart Poettering2022-04-081-5/+5
| | | | | | | %R is already used in service manager specifier expansion (cgroup root), hence use a different char, that was so far not used. Follow-up for: 6ceb0a4094908dd213a78b9f6d0c59a684831ab0
* core: introduce %R specifier for pretty hostnameFrantisek Sumsal2022-03-101-0/+5
| | | | Resolves: #20054
* shared: add new IMAGE_VERSION=/IMAGE_ID= field to /etc/os-releaseLennart Poettering2021-03-311-5/+15
| | | | | | | | | | | | | | | | | | | | | | 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.
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
|
* man: add note that %T/%V don't have the trailing slashZbigniew Jędrzejewski-Szmek2020-10-051-0/+10
|
* Add %l as specifier for the hostname without any domain componentZbigniew Jędrzejewski-Szmek2020-05-071-0/+5
| | | | | | | | | As described in #15603, it is a fairly common setup to use a fqdn as the configured hostname. But it is often convenient to use just the actual hostname, i.e. until the first dot. This adds support in tmpfiles, sysusers, and unit files for %l which expands to that. Fixes #15603.
* man: migrate more specifier explanations to standard-specifiers.xmlLennart Poettering2020-05-051-0/+25
| | | | | | | We probably can migrate even more, but for now let's just migrate those which have the 1:1 identical text everywhere. (Also, let's add the % entry to all specifier tables)
* man: document new specifiersLennart Poettering2020-04-281-0/+32