mirror of
https://github.com/troglobit/finit.git
synced 2026-11-23 20:11:44 +00:00
tmpfiles: add the L? entry
tmpfiles.d(5) has L? for a link that is only made when what it points
to exists:
L? /etc/localtime - - - - ../usr/share/zoneinfo/UTC
The ? was not read, so this made the link whatever was there.
Finit has had this as its own l entry. Read L? as l.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
4 files changed
+15
-1
No files matched your search
@@ -22,6 +22,8 @@ All relevant changes are documented in this file.
|
||||
`%w`, `%W`, `%B`, `%M`, and `%A`. Before, an entry with a `%`
|
||||
in the path was skipped. **Note:** a literal `%` in such an argument,
|
||||
e.g. in a `w` entry for `core_pattern`, must now be written `%%`
|
||||
- tmpfiles: add the `L?` entry, a link that is only made when what it
|
||||
points to exists, the same as Finit's own `l` entry
|
||||
- tmpfiles: add `--prefix=PATH`, to only run the entries for paths below
|
||||
it. `--prefix` and `--exclude-prefix` match whole path components,
|
||||
`--exclude-prefix=/dev` no longer skips `/devices`
|
||||
|
||||
@@ -11,7 +11,7 @@ files or common packages already rely on, last what few will miss.
|
||||
1. Remaining types and modifiers
|
||||
--------------------------------
|
||||
|
||||
* `L?`, and `C+`, which is read as `C`
|
||||
* `C+`, which is read as `C`
|
||||
* `z` and `Z` only set the SELinux label when `restorecon` is installed
|
||||
* `t`, `T` for extended attributes and `h`, `H` for file attributes
|
||||
* Modifiers `-` (do not fail), `=` (remove what is of another type),
|
||||
|
||||
Reference in new issue
Block a user