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
@@ -11,7 +11,6 @@ files or common packages already rely on, last what few will miss.
|
||||
1. Remaining types and modifiers
|
||||
--------------------------------
|
||||
|
||||
* `C+`, which is read as `C`
|
||||
* `z` and `Z` only set the SELinux label when `restorecon` is installed
|
||||
* Modifier `=` (remove what is of another type). `-` (do not fail) has
|
||||
nothing to do, tmpfiles never exits with an error for an entry, and
|
||||
|
||||
Reference in new issue
Block a user