summaryrefslogtreecommitdiff
path: root/nonsystemd/udev/0001-artix-standalone-install.patch
blob: e77f8aea8cb026bb6ab4d79052a0317a66fab7ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
From 691896adfc752185a8340ad6c23c953a31cbe00a Mon Sep 17 00:00:00 2001
From: artoo <artoo@artixlinux.org>
Date: Sat, 2 Dec 2023 00:02:55 +0100
Subject: [PATCH 1/1] artix-standalone-install

---
 factory/templates/meson.build     |  2 ++
 hwdb.d/meson.build                |  4 +++-
 meson.build                       | 22 ++++++++++++++++++++-
 rules.d/meson.build               |  4 +++-
 shell-completion/bash/meson.build | 32 ++-----------------------------
 shell-completion/zsh/meson.build  | 28 ++-------------------------
 src/hwdb/meson.build              |  3 ++-
 src/libudev/meson.build           |  7 ++++++-
 src/shutdown/meson.build          |  3 ++-
 src/sysusers/meson.build          |  3 ++-
 src/tmpfiles/meson.build          |  3 ++-
 src/udev/meson.build              | 14 ++++++++++++--
 src/udev/udevd.c                  |  2 +-
 sysusers.d/meson.build            |  4 ++--
 test/meson.build                  |  6 +++---
 tmpfiles.d/legacy.conf.in         |  3 ---
 tmpfiles.d/meson.build            | 10 ++++------
 17 files changed, 69 insertions(+), 81 deletions(-)

diff --git a/factory/templates/meson.build b/factory/templates/meson.build
index a3ba7b166f..bba18d851d 100644
--- a/factory/templates/meson.build
+++ b/factory/templates/meson.build
@@ -8,6 +8,7 @@ custom_target(
         output : 'locale.conf',
         command : [jinja2_cmdline, '@INPUT@', '@OUTPUT@'],
         install : true,
+        install_tag : 'etmpfiles',
         install_dir : factory_etc_dir)
 
 custom_target(
@@ -16,4 +17,5 @@ custom_target(
         output : 'vconsole.conf',
         command : [jinja2_cmdline, '@INPUT@', '@OUTPUT@'],
         install : true,
+        install_tag : 'etmpfiles',
         install_dir : factory_etc_dir)
diff --git a/hwdb.d/meson.build b/hwdb.d/meson.build
index 32e6505bc6..964039710b 100644
--- a/hwdb.d/meson.build
+++ b/hwdb.d/meson.build
@@ -44,14 +44,16 @@ if conf.get('ENABLE_HWDB') == 1
                 command : make_autosuspend_rules_py,
                 capture : true,
                 install : true,
+                install_tag : 'udev',
                 install_dir: udevhwdbdir)
 
         install_data(hwdb_files_notest,
                      hwdb_files_test,
+                     install_tag : 'udev',
                      install_dir : udevhwdbdir)
 
         if install_sysconfdir
-                install_emptydir(sysconfdir / 'udev/hwdb.d')
+                install_emptydir(sysconfdir / 'udev/hwdb.d', install_tag : 'udev')
 
                 meson.add_install_script(sh, '-c',
                                          'test -n "$DESTDIR" || @0@/systemd-hwdb update'.format(bindir))
diff --git a/meson.build b/meson.build
index 7419e2b0b0..facf0a4124 100644
--- a/meson.build
+++ b/meson.build
@@ -118,7 +118,7 @@ includedir = prefixdir / get_option('includedir')
 datadir = prefixdir / get_option('datadir')
 localstatedir = '/' / get_option('localstatedir')
 
-libexecdir = prefixdir / 'lib/systemd'
+libexecdir = bindir
 pkglibdir = libdir / 'systemd'
 
 install_sysconfdir = get_option('install-sysconfdir') != 'false'
@@ -2499,6 +2499,26 @@ install_subdir('LICENSES',
 
 install_emptydir(systemdstatedir)
 
+install_data('LICENSE.GPL2',
+             'LICENSE.LGPL2.1',
+             install_tag : 'udev',
+             install_dir : datadir / 'doc/udev')
+
+install_data('LICENSE.GPL2',
+             'LICENSE.LGPL2.1',
+             install_tag : 'etmpfiles',
+             install_dir : datadir / 'doc/etmpfiles')
+
+install_data('LICENSE.GPL2',
+             'LICENSE.LGPL2.1',
+             install_tag : 'esysusers',
+             install_dir : datadir / 'doc/esysusers')
+
+install_data('LICENSE.GPL2',
+             'LICENSE.LGPL2.1',
+             install_tag : 'eshutdown',
+             install_dir : datadir / 'doc/eshutdown')
+
 ############################################################
 
 # Ensure that changes to the docs/ directory do not break the
diff --git a/rules.d/meson.build b/rules.d/meson.build
index 3040fae8a4..4201744f4d 100644
--- a/rules.d/meson.build
+++ b/rules.d/meson.build
@@ -2,6 +2,7 @@
 
 install_data(
         'README',
+        install_tag : 'udev',
         install_dir : udevrulesdir)
 
 rules = [
@@ -48,6 +49,7 @@ all_rules = []
 foreach tuple : rules
         if tuple.length() == 1 or tuple[1]
                 install_data(tuple[0],
+                             install_tag : 'udev',
                              install_dir : udevrulesdir)
                 all_rules += tuple[0]
         endif
@@ -57,7 +59,6 @@ rules_in = [
         ['50-udev-default.rules'],
         ['60-persistent-storage.rules'],
         ['64-btrfs.rules'],
-        ['99-systemd.rules'],
 
         ['70-uaccess.rules',   enable_logind and conf.get('HAVE_ACL') == 1],
         ['71-seat.rules',      enable_logind],
@@ -75,6 +76,7 @@ foreach tuple : rules_in
                 output: tuple[0],
                 command : [jinja2_cmdline, '@INPUT@', '@OUTPUT@'],
                 install : want,
+                install_tag : 'udev',
                 install_dir : udevrulesdir)
 
         if want
diff --git a/shell-completion/bash/meson.build b/shell-completion/bash/meson.build
index 1588b538d8..8b059638f4 100644
--- a/shell-completion/bash/meson.build
+++ b/shell-completion/bash/meson.build
@@ -18,40 +18,12 @@ custom_target(
         install : bashcompletiondir != 'no',
         install_dir : bashcompletiondir)
 
-items = [['busctl',              ''],
-         ['journalctl',          ''],
-         ['systemd-analyze',     ''],
-         ['systemd-cat',         ''],
-         ['systemd-cgls',        ''],
-         ['systemd-cgtop',       ''],
-         ['systemd-delta',       ''],
-         ['systemd-detect-virt', ''],
-         ['systemd-id128',       ''],
-         ['systemd-nspawn',      ''],
-         ['systemd-path',        ''],
-         ['systemd-run',         ''],
-         ['udevadm',             ''],
-         ['bootctl',             ''],
-         ['coredumpctl',         'ENABLE_COREDUMP'],
-         ['homectl',             'ENABLE_HOMED'],
-         ['hostnamectl',         'ENABLE_HOSTNAMED'],
-         ['kernel-install',      'ENABLE_KERNEL_INSTALL'],
-         ['localectl',           'ENABLE_LOCALED'],
-         ['loginctl',            'ENABLE_LOGIND'],
-         ['machinectl',          'ENABLE_MACHINED'],
-         ['networkctl',          'ENABLE_NETWORKD'],
-         ['oomctl',              'ENABLE_OOMD'],
-         ['portablectl',         'ENABLE_PORTABLED'],
-         ['resolvectl',          'ENABLE_RESOLVE'],
-         ['systemd-cryptenroll', 'HAVE_LIBCRYPTSETUP'],
-         ['systemd-dissect',     'HAVE_BLKID'],
-         ['systemd-resolve',     'ENABLE_RESOLVE'],
-         ['systemd-sysext',      'ENABLE_SYSEXT'],
-         ['timedatectl',         'ENABLE_TIMEDATED']]
+items = [['udevadm',             '']]
 
 foreach item : items
         if bashcompletiondir != 'no' and (item[1] == '' or conf.get(item[1]) == 1)
                 install_data(item[0],
+                             install_tag : 'udev',
                              install_dir : bashcompletiondir)
         endif
 endforeach
diff --git a/shell-completion/zsh/meson.build b/shell-completion/zsh/meson.build
index ebe79f3985..575a0cb41c 100644
--- a/shell-completion/zsh/meson.build
+++ b/shell-completion/zsh/meson.build
@@ -13,36 +13,12 @@ custom_target(
         install : zshcompletiondir != 'no',
         install_dir : zshcompletiondir)
 
-items = [['_busctl',                   ''],
-         ['_journalctl',               ''],
-         ['_systemd-analyze',          ''],
-         ['_systemd-delta',            ''],
-         ['_systemd-nspawn',           ''],
-         ['_systemd',                  ''],
-         ['_systemd-path',             ''],
-         ['_systemd-run',              ''],
-         ['_udevadm',                  ''],
-         ['_kernel-install',           'ENABLE_KERNEL_INSTALL'],
-         ['_sd_hosts_or_user_at_host', ''],
-         ['_sd_outputmodes',           ''],
-         ['_sd_unit_files',            ''],
-         ['_sd_machines',              ''],
-         ['_bootctl',                  ''],
-         ['_coredumpctl',              'ENABLE_COREDUMP'],
-         ['_hostnamectl',              'ENABLE_HOSTNAMED'],
-         ['_localectl',                'ENABLE_LOCALED'],
-         ['_loginctl',                 'ENABLE_LOGIND'],
-         ['_machinectl',               'ENABLE_MACHINED'],
-         ['_networkctl',               'ENABLE_NETWORKD'],
-         ['_oomctl',                   'ENABLE_OOMD'],
-         ['_systemd-inhibit',          'ENABLE_LOGIND'],
-         ['_resolvectl',               'ENABLE_RESOLVE'],
-         ['_systemd-tmpfiles',         'ENABLE_TMPFILES'],
-         ['_timedatectl',              'ENABLE_TIMEDATED']]
+items = [['_udevadm',                  '']]
 
 foreach item : items
         if zshcompletiondir != 'no' and (item[1] == '' or conf.get(item[1]) == 1)
                 install_data(item[0],
+                             install_tag : 'udev',
                              install_dir : zshcompletiondir)
         endif
 endforeach
diff --git a/src/hwdb/meson.build b/src/hwdb/meson.build
index 385ed854d6..b4b697b634 100644
--- a/src/hwdb/meson.build
+++ b/src/hwdb/meson.build
@@ -2,11 +2,12 @@
 
 executables += [
         executable_template + {
-                'name' : 'systemd-hwdb',
+                'name' : 'udev-hwdb',
                 'public' : true,
                 'conditions' : ['ENABLE_HWDB'],
                 'sources' : files('hwdb.c'),
                 'link_with' : udev_link_with,
+                'install_tag' : 'udev',
                 'install_rpath' : udev_rpath,
         },
 ]
diff --git a/src/libudev/meson.build b/src/libudev/meson.build
index 7f999197af..c8cb1d482c 100644
--- a/src/libudev/meson.build
+++ b/src/libudev/meson.build
@@ -23,6 +23,11 @@ libudev_sym_path = libudev_dir_path / 'libudev.sym'
 install_headers('libudev.h')
 libudev_h_path = libudev_dir_path / 'libudev.h'
 
+install_data(
+        libudev_h_path,
+        install_dir: includedir,
+        install_tag: 'libudev-devel')
+
 libudev_basic = static_library(
         'udev-basic',
         libudev_sources,
@@ -40,5 +45,5 @@ libudev_pc = custom_target(
         output : 'libudev.pc',
         command : [jinja2_cmdline, '@INPUT@', '@OUTPUT@'],
         install : pkgconfiglibdir != 'no',
-        install_tag : 'devel',
+        install_tag : 'libudev-devel',
         install_dir : pkgconfiglibdir)
diff --git a/src/shutdown/meson.build b/src/shutdown/meson.build
index 219f9fd308..1317c10741 100644
--- a/src/shutdown/meson.build
+++ b/src/shutdown/meson.build
@@ -16,7 +16,7 @@ executables += [
                 'dependencies' : libmount,
         },
         libexec_template + {
-                'name' : 'systemd-shutdown.standalone',
+                'name' : 'eshutdown',
                 'sources' : systemd_shutdown_sources,
                 'c_args' : '-DSTANDALONE',
                 'link_with' : [
@@ -26,6 +26,7 @@ executables += [
                 ],
                 'dependencies' : libmount,
                 'build_by_default' : have_standalone_binaries,
+                'install_tag' : 'eshutdown',
                 'install' : have_standalone_binaries,
         },
         test_template + {
diff --git a/src/sysusers/meson.build b/src/sysusers/meson.build
index fcb291d02c..ad0721b09d 100644
--- a/src/sysusers/meson.build
+++ b/src/sysusers/meson.build
@@ -8,7 +8,7 @@ executables += [
                 'sources' : files('sysusers.c'),
         },
         executable_template + {
-                'name' : 'systemd-sysusers.standalone',
+                'name' : 'esysusers',
                 'public' : have_standalone_binaries,
                 'conditions' : ['ENABLE_SYSUSERS'],
                 'sources' : files('sysusers.c'),
@@ -20,6 +20,7 @@ executables += [
                         libsystemd_static,
                 ],
                 'build_by_default' : have_standalone_binaries,
+                'install_tag' : 'esysusers',
                 'install' : have_standalone_binaries,
         },
 ]
diff --git a/src/tmpfiles/meson.build b/src/tmpfiles/meson.build
index 8a24a21a27..fad4ea730e 100644
--- a/src/tmpfiles/meson.build
+++ b/src/tmpfiles/meson.build
@@ -14,7 +14,7 @@ executables += [
                 'dependencies' : libacl,
         },
         executable_template + {
-                'name' : 'systemd-tmpfiles.standalone',
+                'name' : 'etmpfiles',
                 'public' : have_standalone_binaries,
                 'conditions' : ['ENABLE_TMPFILES'],
                 'sources' : systemd_tmpfiles_sources,
@@ -27,6 +27,7 @@ executables += [
                 ],
                 'dependencies' : libacl,
                 'build_by_default' : have_standalone_binaries,
+                'install_tag' : 'etmpfiles',
                 'install' : have_standalone_binaries,
         },
         test_template + {
diff --git a/src/udev/meson.build b/src/udev/meson.build
index 824ec47803..570cf6b833 100644
--- a/src/udev/meson.build
+++ b/src/udev/meson.build
@@ -129,6 +129,7 @@ udev_plugin_template = executable_template + {
         'public' : true,
         'link_with' : udev_link_with,
         'install_rpath' : udev_rpath,
+        'install_tag' : 'udev',
         'install_dir' : udevlibexecdir,
 }
 
@@ -152,6 +153,7 @@ executables += [
                 'sources' : udevadm_sources,
                 'link_with' : [libudevd_core],
                 'dependencies' : udev_dependencies,
+                'install_tag' : 'udev',
                 'install_rpath' : udev_rpath,
         },
         udev_plugin_template + {
@@ -252,10 +254,18 @@ executables += [
 meson.add_install_script(sh, '-c', ln_s.format(bindir / 'udevadm',
                                                libexecdir / 'systemd-udevd'))
 
+install_symlink(
+        'udevd',
+        install_dir : bindir,
+        install_tag : 'udev',
+        pointing_to : bindir / 'udevadm')
+
 if install_sysconfdir_samples
         install_data('udev.conf',
+                     install_tag : 'udev',
                      install_dir : configfiledir / 'udev')
         install_data('iocost/iocost.conf',
+                     install_tag : 'udev',
                      install_dir : configfiledir / 'udev')
 endif
 
@@ -265,9 +275,9 @@ udev_pc = custom_target(
         output : 'udev.pc',
         command : [jinja2_cmdline, '@INPUT@', '@OUTPUT@'],
         install : pkgconfigdatadir != 'no',
-        install_tag : 'devel',
+        install_tag : 'udev-devel',
         install_dir : pkgconfigdatadir)
 
 if install_sysconfdir
-        install_emptydir(sysconfdir / 'udev/rules.d')
+        install_emptydir(sysconfdir / 'udev/rules.d', install_tag : 'udev')
 endif
diff --git a/src/udev/udevd.c b/src/udev/udevd.c
index 2ed4282253..92549255fc 100644
--- a/src/udev/udevd.c
+++ b/src/udev/udevd.c
@@ -384,7 +384,7 @@ int run_udevd(int argc, char *argv[]) {
         if (arg_daemonize) {
                 pid_t pid;
 
-                log_info("Starting systemd-udevd version " GIT_VERSION);
+                log_info("Starting udevd version " GIT_VERSION);
 
                 /* connect /dev/null to stdin, stdout, stderr */
                 if (log_get_max_level() < LOG_DEBUG) {
diff --git a/sysusers.d/meson.build b/sysusers.d/meson.build
index 608c4b744a..93fdc08b2c 100644
--- a/sysusers.d/meson.build
+++ b/sysusers.d/meson.build
@@ -8,7 +8,7 @@ foreach pair : files
         if not enable_sysusers
                 # do nothing
         elif pair[1] == '' or conf.get(pair[1]) == 1
-                install_data(pair[0], install_dir : sysusersdir)
+                install_data(pair[0], install_tag : 'esysusers', install_dir : sysusersdir)
         else
                 message('Not installing sysusers.d/@0@ because @1@ is @2@'
                         .format(pair[0], pair[1], conf.get(pair[1], 0)))
@@ -22,7 +22,6 @@ endif
 
 
 in_files = [['basic.conf',            enable_sysusers],
-            ['systemd-journal.conf',  enable_sysusers],
             ['systemd-network.conf',  enable_sysusers and conf.get('ENABLE_NETWORKD') == 1],
             ['systemd-resolve.conf',  enable_sysusers and conf.get('ENABLE_RESOLVE') == 1],
             ['systemd-timesync.conf', enable_sysusers and conf.get('ENABLE_TIMESYNCD') == 1]]
@@ -35,5 +34,6 @@ foreach tuple : in_files
                 output: file,
                 command : [jinja2_cmdline, '@INPUT@', '@OUTPUT@'],
                 install : tuple[1],
+                install_tag : 'esysusers',
                 install_dir : sysusersdir)
 endforeach
diff --git a/test/meson.build b/test/meson.build
index b47fa612b1..dbb0d2e057 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -76,7 +76,7 @@ if conf.get('ENABLE_SYSUSERS') == 1
                      suite : 'sysusers')
 
                 if have_standalone_binaries
-                        exe = executables_by_name.get('systemd-sysusers.standalone')
+                        exe = executables_by_name.get('esysusers')
                         test('test-sysusers.standalone',
                              test_sysusers_sh,
                              # https://github.com/mesonbuild/meson/issues/2681
@@ -99,7 +99,7 @@ endif
 
 if want_tests != 'false' and conf.get('ENABLE_HWDB') == 1
         hwdb_test_sh = find_program('hwdb-test.sh')
-        exe = executables_by_name.get('systemd-hwdb')
+        exe = executables_by_name.get('udev-hwdb')
         test('hwdb-test',
              hwdb_test_sh,
              suite : 'dist',
@@ -158,7 +158,7 @@ if want_tests != 'false' and conf.get('ENABLE_TMPFILES') == 1
              suite : 'tmpfiles')
 
         if have_standalone_binaries
-                exe = executables_by_name.get('systemd-tmpfiles.standalone')
+                exe = executables_by_name.get('etmpfiles')
                 test('test-systemd-tmpfiles.standalone',
                      test_systemd_tmpfiles_py,
                      args : exe.full_path(),
diff --git a/tmpfiles.d/legacy.conf.in b/tmpfiles.d/legacy.conf.in
index 4f2c0d7c43..62e2ae0986 100644
--- a/tmpfiles.d/legacy.conf.in
+++ b/tmpfiles.d/legacy.conf.in
@@ -12,9 +12,6 @@
 
 d /run/lock 0755 root root -
 L /var/lock - - - - ../run/lock
-{% if CREATE_LOG_DIRS %}
-L /var/log/README - - - - ../..{{DOC_DIR}}/README.logs
-{% endif %}
 
 # /run/lock/subsys is used for serializing SysV service execution, and
 # hence without use on SysV-less systems.
diff --git a/tmpfiles.d/meson.build b/tmpfiles.d/meson.build
index 4c11ad6e20..2f75801314 100644
--- a/tmpfiles.d/meson.build
+++ b/tmpfiles.d/meson.build
@@ -4,14 +4,12 @@ enable_tmpfiles = conf.get('ENABLE_TMPFILES') == 1
 
 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',       ''],
@@ -22,7 +20,7 @@ foreach pair : files
         if not enable_tmpfiles
                 # do nothing
         elif pair[1] == '' or conf.get(pair[1]) == 1
-                install_data(pair[0], install_dir : tmpfilesdir)
+                install_data(pair[0], install_tag : 'etmpfiles', install_dir : tmpfilesdir)
         else
                 message('Not installing tmpfiles.d/@0@ because @1@ is @2@'
                         .format(pair[0], pair[1], conf.get(pair[1], 0)))
@@ -30,9 +28,8 @@ foreach pair : files
 endforeach
 
 in_files = [['etc.conf',                      ''],
-            ['legacy.conf',                   'HAVE_SYSV_COMPAT'],
+            ['legacy.conf',                   ''],
             ['static-nodes-permissions.conf', ''],
-            ['systemd.conf',                  ''],
             ['var.conf',                      ''],
            ]
 
@@ -46,6 +43,7 @@ foreach pair : in_files
                         output: pair[0],
                         command : [jinja2_cmdline, '@INPUT@', '@OUTPUT@'],
                         install : enable_tmpfiles,
+                        install_tag : 'etmpfiles',
                         install_dir : tmpfilesdir)
         else
                 message('Not installing tmpfiles.d/@0@ because @1@ is @2@'
@@ -54,5 +52,5 @@ foreach pair : in_files
 endforeach
 
 if enable_tmpfiles and install_sysconfdir
-        install_emptydir(sysconfdir / 'tmpfiles.d')
+        install_emptydir(sysconfdir / 'tmpfiles.d', install_tag : 'etmpfiles')
 endif
-- 
2.44.0