meson: conditionalize tmpfiles.d/legacy.conf

This is a compat interface, so let downstream like Arch drop it easily.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2026-02-01 09:40:10 +01:00
parent 0acd1b4f35
commit fcff83a534
+23 -23
View File
@@ -4,20 +4,20 @@ if conf.get('ENABLE_TMPFILES') != 1
subdir_done()
endif
files = [['README'],
['home.conf'],
['journal-nocow.conf'],
files = [['README' ],
['home.conf' ],
['journal-nocow.conf' ],
['portables.conf', 'ENABLE_PORTABLED'],
['systemd-network.conf', 'ENABLE_NETWORKD'],
['systemd-nologin.conf', 'HAVE_PAM'],
['systemd-nspawn.conf', 'ENABLE_MACHINED'],
['systemd-pstore.conf', 'ENABLE_PSTORE'],
['systemd-resolve.conf', 'ENABLE_RESOLVE'],
['systemd-tmp.conf'],
['tmp.conf'],
['x11.conf'],
['provision.conf'],
['credstore.conf'],
['systemd-network.conf', 'ENABLE_NETWORKD' ],
['systemd-nologin.conf', 'HAVE_PAM' ],
['systemd-nspawn.conf', 'ENABLE_MACHINED' ],
['systemd-pstore.conf', 'ENABLE_PSTORE' ],
['systemd-resolve.conf', 'ENABLE_RESOLVE' ],
['systemd-tmp.conf' ],
['tmp.conf' ],
['x11.conf' ],
['provision.conf' ],
['credstore.conf' ],
]
foreach f : files
@@ -30,16 +30,16 @@ foreach f : files
endforeach
in_files = [
['20-systemd-shell-extra.conf', 'LINK_SHELL_EXTRA_DROPIN'],
['20-systemd-osc-context.conf', 'LINK_OSC_CONTEXT_DROPIN'],
['20-systemd-ssh-generator.conf', 'ENABLE_SSH_PROXY_CONFIG'],
['20-systemd-stub.conf', 'ENABLE_EFI'],
['20-systemd-userdb.conf', 'ENABLE_SSH_USERDB_CONFIG'],
['etc.conf'],
['legacy.conf'],
['static-nodes-permissions.conf'],
['systemd.conf'],
['var.conf'],
['20-systemd-shell-extra.conf', 'LINK_SHELL_EXTRA_DROPIN' ],
['20-systemd-osc-context.conf', 'LINK_OSC_CONTEXT_DROPIN' ],
['20-systemd-ssh-generator.conf', 'ENABLE_SSH_PROXY_CONFIG' ],
['20-systemd-stub.conf', 'ENABLE_EFI' ],
['20-systemd-userdb.conf', 'ENABLE_SSH_USERDB_CONFIG' ],
['etc.conf' ],
['legacy.conf', 'ENABLE_COMPAT_SYSV_INTERFACES'],
['static-nodes-permissions.conf' ],
['systemd.conf' ],
['var.conf' ],
]
foreach f : in_files