diff options
author | Mike Gilbert <floppym@gentoo.org> | 2021-08-18 11:53:39 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2021-08-18 11:54:50 -0400 |
commit | 5f697fb9215abd13c336405e5768384384de0fd9 (patch) | |
tree | 007bca68d6eb0ef73e75ede476d335d359ade23b /sys-apps/dbus | |
parent | gui-apps/swayidle: 1.7 bump (diff) | |
download | gentoo-5f697fb9215abd13c336405e5768384384de0fd9.tar.gz gentoo-5f697fb9215abd13c336405e5768384384de0fd9.tar.bz2 gentoo-5f697fb9215abd13c336405e5768384384de0fd9.zip |
sys-apps/dbus: adjust tmpfiles logic
The tmpfiles.d snippet only gets installed when systemd support is
enabled. Set TMPFILES_OPTIONAL and skip tmpfiles_process when systemd is
disabled.
Closes: https://bugs.gentoo.org/808893
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-apps/dbus')
-rw-r--r-- | sys-apps/dbus/dbus-1.12.20-r2.ebuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys-apps/dbus/dbus-1.12.20-r2.ebuild b/sys-apps/dbus/dbus-1.12.20-r2.ebuild index 8b4f89206a05..3672eebd8b91 100644 --- a/sys-apps/dbus/dbus-1.12.20-r2.ebuild +++ b/sys-apps/dbus/dbus-1.12.20-r2.ebuild @@ -2,8 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 - PYTHON_COMPAT=( python3_{8,9} ) +TMPFILES_OPTIONAL=1 + inherit autotools flag-o-matic linux-info python-any-r1 readme.gentoo-r1 systemd tmpfiles virtualx multilib-minimal DESCRIPTION="A message bus system, a simple way for applications to talk to each other" @@ -246,7 +247,9 @@ multilib_src_install_all() { pkg_postinst() { readme.gentoo_print_elog - tmpfiles_process dbus.conf + if use systemd; then + tmpfiles_process dbus.conf + fi # Ensure unique id is generated and put it in /etc wrt #370451 but symlink # for DBUS_MACHINE_UUID_FILE (see tools/dbus-launch.c) and reverse |