command : make_autosuspend_rules_py,
capture : true,
install : true,
- install_dir: udevhwdbdir)
+ install_dir: udevhwdbdir,
+ install_tag: 'hwdb')
install_data(hwdb_files_notest,
hwdb_files_test,
- install_dir : udevhwdbdir)
+ install_dir : udevhwdbdir,
+ install_tag: 'hwdb')
if install_sysconfdir
- install_emptydir(sysconfdir / 'udev/hwdb.d')
+ install_emptydir(sysconfdir / 'udev/hwdb.d', install_tag : 'hwdb')
meson.add_install_script(sh, '-c',
- 'test -n "$DESTDIR" || @0@/systemd-hwdb update'.format(bindir))
+ 'test -n "$DESTDIR" || @0@/systemd-hwdb update'.format(bindir),
+ install_tag: 'hwdb')
endif
if want_tests != 'false'
'link_with' : udev_link_with,
'install_rpath' : udev_rpath,
'install_dir' : udevlibexecdir,
+ 'install_tag' : 'udev',
}
udev_common_template = {
'link_with' : [libudevd_core],
'dependencies' : udev_dependencies,
'install_rpath' : udev_rpath,
+ 'install_tag' : 'udev',
},
udev_plugin_template + {
'name' : 'ata_id',
]
meson.add_install_script(sh, '-c', ln_s.format(bindir / 'udevadm',
- libexecdir / 'systemd-udevd'))
+ libexecdir / 'systemd-udevd'),
+ install_tag : 'udev')
if install_sysconfdir_samples
install_data('udev.conf',
- install_dir : configfiledir / 'udev')
+ install_dir : configfiledir / 'udev',
+ install_tag : 'udev')
install_data('iocost/iocost.conf',
- install_dir : configfiledir / 'udev')
+ install_dir : configfiledir / 'udev',
+ install_tag : 'udev')
endif
udev_pc = custom_target(
install_dir : pkgconfigdatadir)
if install_sysconfdir
- install_emptydir(sysconfdir / 'udev/rules.d')
+ install_emptydir(sysconfdir / 'udev/rules.d', install_tag : 'udev')
endif
{
'file' : 'initrd-udevadm-cleanup-db.service',
'conditions' : ['ENABLE_INITRD'],
+ 'install_tag' : 'udev',
},
{
'file' : 'initrd-usr-fs.target',
'file' : 'systemd-hwdb-update.service.in',
'conditions' : ['ENABLE_HWDB'],
'symlinks' : ['sysinit.target.wants/'],
+ 'install_tag' : 'hwdb',
},
{
'file' : 'systemd-hybrid-sleep.service.in',
'conditions' : ['ENABLE_TMPFILES'],
'symlinks' : ['sysinit.target.wants/'],
},
- { 'file' : 'systemd-udev-load-credentials.service' },
- { 'file' : 'systemd-udev-settle.service' },
+ {
+ 'file' : 'systemd-udev-load-credentials.service',
+ 'install_tag' : 'udev',
+ },
+ {
+ 'file' : 'systemd-udev-settle.service',
+ 'install_tag' : 'udev',
+ },
{
'file' : 'systemd-udev-trigger.service',
'symlinks' : ['sysinit.target.wants/'],
+ 'install_tag' : 'udev',
},
{
'file' : 'systemd-udevd-control.socket',
'symlinks' : ['sockets.target.wants/'],
+ 'install_tag' : 'udev',
},
{
'file' : 'systemd-udevd-kernel.socket',
'symlinks' : ['sockets.target.wants/'],
+ 'install_tag' : 'udev',
},
{
'file' : 'systemd-udevd-varlink.socket',
'symlinks' : ['sockets.target.wants/'],
+ 'install_tag' : 'udev',
},
{
'file' : 'systemd-udevd.service.in',
'symlinks' : ['sysinit.target.wants/'],
+ 'install_tag' : 'udev',
},
{
'file' : 'systemd-update-done.service.in',
output : name,
command : [jinja2_cmdline, '@INPUT@', '@OUTPUT@'],
install : install,
- install_dir : systemunitdir)
+ install_dir : systemunitdir,
+ install_tag : unit.get('install_tag', ''))
elif install
install_data(source,
- install_dir : systemunitdir)
+ install_dir : systemunitdir,
+ install_tag : unit.get('install_tag', ''))
endif
if install
foreach target : unit.get('symlinks', [])
if target.endswith('/')
- install_emptydir(systemunitdir / target)
+ install_emptydir(systemunitdir / target, install_tag : unit.get('install_tag', ''))
meson.add_install_script(sh, '-c',
ln_s.format(systemunitdir / name,
- systemunitdir / target / name))
+ systemunitdir / target / name),
+ install_tag : unit.get('install_tag', ''))
else
meson.add_install_script(sh, '-c',
ln_s.format(systemunitdir / name,
- systemunitdir / target))
+ systemunitdir / target),
+ install_tag : unit.get('install_tag', ''))
endif
endforeach
endif