Skip to content

Commit

Permalink
Merge branch 'uuiddd-sysusers' of https://github.com/keszybz/util-linux
Browse files Browse the repository at this point in the history
* 'uuiddd-sysusers' of https://github.com/keszybz/util-linux:
  lastlog2,uuidd: rename tmpfiles config file
  uuidd: add sysusers file
  • Loading branch information
karelzak committed Jan 16, 2025
2 parents c433ce4 + 6dfa1b9 commit c05a1b8
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
5 changes: 5 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -919,6 +919,11 @@ if systemd.found()
systemdsystemunitdir = systemd.get_variable(pkgconfig : 'systemdsystemunitdir')
endif

systemd_sysusers_dir = ''
if systemd.found()
systemd_sysusers_dir = systemd.get_variable(pkgconfig : 'sysusers_dir')
endif

sysvinit = get_option('sysvinit').enabled()
sysvinitrcdir = sysconfdir + '/init.d'

Expand Down
11 changes: 9 additions & 2 deletions misc-utils/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ if build_liblastlog2 and systemd.found()
configuration : conf)
install_data(
lastlog2_tmpfiles,
install_dir : '/usr/lib/tmpfiles.d')
install_dir : '/usr/lib/tmpfiles.d',
rename : 'lastlog2.conf')

lastlog2_service = configure_file(
input : 'lastlog2-import.service.in',
Expand All @@ -87,7 +88,8 @@ if build_uuidd and systemd.found()
configuration : conf)
install_data(
uuidd_tmpfiles,
install_dir : '/usr/lib/tmpfiles.d')
install_dir : '/usr/lib/tmpfiles.d',
rename : 'uuidd.conf')

uuidd_service = configure_file(
input : 'uuidd.service.in',
Expand All @@ -104,6 +106,11 @@ if build_uuidd and systemd.found()
install_data(
uuidd_socket,
install_dir : systemdsystemunitdir)

install_data(
'uuidd-sysusers.conf',
install_dir: systemd_sysusers_dir,
rename : 'uuidd.conf')
endif
if build_uuidd and sysvinit
uuidd_rc = configure_file(
Expand Down
1 change: 1 addition & 0 deletions misc-utils/uuidd-sysusers.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
u uuidd - "UUID generator helper daemon" /var/lib/libuuid

0 comments on commit c05a1b8

Please sign in to comment.