1 # SPDX-License-Identifier: LGPL-2.1-or-later
3 if conf.get('ENABLE_TMPFILES') != 1
9 ['journal-nocow.conf'],
10 ['portables.conf', 'ENABLE_PORTABLED'],
11 ['systemd-network.conf', 'ENABLE_NETWORKD'],
12 ['systemd-nologin.conf', 'HAVE_PAM'],
13 ['systemd-nspawn.conf', 'ENABLE_MACHINED'],
14 ['systemd-pstore.conf', 'ENABLE_PSTORE'],
15 ['systemd-resolve.conf', 'ENABLE_RESOLVE'],
24 if f.length() == 1 or conf.get(f[1]) == 1
25 install_data(f[0], install_dir : tmpfilesdir)
27 message('Not installing tmpfiles.d/@0@ because @1@ is @2@'
28 .format(f[0], f[1], conf.get(f[1], 0)))
33 ['20-systemd-shell-extra.conf', 'LINK_SHELL_EXTRA_DROPIN'],
34 ['20-systemd-osc-context.conf', 'LINK_OSC_CONTEXT_DROPIN'],
35 ['20-systemd-ssh-generator.conf', 'ENABLE_SSH_PROXY_CONFIG'],
36 ['20-systemd-stub.conf', 'ENABLE_EFI'],
37 ['20-systemd-userdb.conf', 'ENABLE_SSH_USERDB_CONFIG'],
40 ['static-nodes-permissions.conf'],
46 if f.length() == 1 or conf.get(f[1]) == 1
50 command : [jinja2_cmdline, '@INPUT@', '@OUTPUT@'],
52 install_dir : tmpfilesdir)
54 message('Not installing tmpfiles.d/@0@ because @1@ is @2@'
55 .format(f[0], f[1], conf.get(f[1], 0)))
60 install_emptydir(sysconfdir / 'tmpfiles.d')