mirror of
https://github.com/troglobit/finit.git
synced 2026-11-23 20:11:44 +00:00
tmpfiles: add the C+ entry, copy to a directory that is not empty
A C entry leaves a directory alone when there is something in it. In
tmpfiles.d(5) a C+ entry copies to it anyway: what the directory lacks
is added, and what it has is not overwritten.
C+ /etc/skel - - - - /usr/share/factory/etc/skel
tmpfiles reads C+ as C. Let the + through to copy_tree().
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
4 files changed
+13
-3
No files matched your search
@@ -43,6 +43,8 @@ All relevant changes are documented in this file.
|
||||
- tmpfiles: an `x` or `X` entry with an age now has what it keeps cleaned
|
||||
by that age, as in `x /tmp/build 30d` below a `/tmp` cleaned after ten
|
||||
days. Before the age was not read
|
||||
- tmpfiles: add the `C+` entry, which also copies to a directory that has
|
||||
something in it. What is missing is added, nothing is overwritten
|
||||
- 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`
|
||||
|
||||
Reference in new issue
Block a user