]> git.ipfire.org Git - thirdparty/systemd.git/commit
tmpfiles: Implement L? to only create symlinks if source exists
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 4 Nov 2024 11:21:21 +0000 (12:21 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 4 Nov 2024 18:04:21 +0000 (19:04 +0100)
commitb5dc805583bbb019c6bf4c73bf0814a396dc0f12
tree5c72a94907194ed3bb04377fed4c0569994774bd
parentc52f6c1f3311d6a368314f55c47268a5844b3694
tmpfiles: Implement L? to only create symlinks if source exists

This allows a single tmpfiles snippet with lines to symlink directories
from /usr/share/factory to be shared across many different configurations
while making sure symlinks only get created if the source actually exists.
man/tmpfiles.d.xml
src/tmpfiles/tmpfiles.c
test/units/TEST-22-TMPFILES.21.sh [new file with mode: 0755]