]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: conditionalize tmpfiles.d/legacy.conf 40502/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 31 Jan 2026 16:48:18 +0000 (17:48 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 1 Feb 2026 08:40:10 +0000 (09:40 +0100)
This is a compat interface, so let downstream like Arch drop it easily.

tmpfiles.d/meson.build

index 203eb7bb5527726d5a0ae3c8eb96d615c6911ecf..7f3fce48c9f11eb4a55c79a17db8fb310fe04830 100644 (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