diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2023-02-20 20:30:44 +0100 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2023-02-22 12:44:36 +0100 |
commit | b63bd125d4fb8ad1905d6c7dc4d87033ecf8148c (patch) | |
tree | b49e4ae1f36c310a56a33579742294ab38bb5882 /man/systemd-rc-local-generator.xml | |
parent | 5ab863be51ba8a700c30f9d7b4f42ca82836263a (diff) | |
download | systemd-b63bd125d4fb8ad1905d6c7dc4d87033ecf8148c.tar.gz |
copy: Support both inode exclusion and contents exclusion
In some cases, we want to exclude a directory's contents but not
the directory itself. In other cases, we want to exclude a directory
and its contents. Let's extend the denylist logic in copy.h to support
both by changing the denylist from a set to hashmap so we can store the
deny type as the value.
We also modify the repart ExcludeFiles= option to make use of this. If
a directory to exclude ends with a "/", we'll only exclude its contents.
Otherwise, we'll exclude the full directory.
Diffstat (limited to 'man/systemd-rc-local-generator.xml')
0 files changed, 0 insertions, 0 deletions