summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-08-17 01:44:12 +0100
committerSam James <sam@gentoo.org>2021-08-17 01:44:45 +0100
commit578bae02b9ad289c2818cc5aa3afb304ae64ca51 (patch)
treec211d35d59d90239fd363bcbfdf0674da303978c /sys-apps/dbus
parentapp-portage/gentoolkit: [QA] add missing tmpfiles_process call (diff)
downloadgentoo-578bae02b9ad289c2818cc5aa3afb304ae64ca51.tar.gz
gentoo-578bae02b9ad289c2818cc5aa3afb304ae64ca51.tar.bz2
gentoo-578bae02b9ad289c2818cc5aa3afb304ae64ca51.zip
sys-apps/dbus: [QA] add missing tmpfiles_process call
Revbump for the missing tmpfiles.eclass inherit which adds a virtual/tmpfiles RDEPEND. Closes: https://bugs.gentoo.org/808657 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps/dbus')
-rw-r--r--sys-apps/dbus/dbus-1.12.20-r2.ebuild (renamed from sys-apps/dbus/dbus-1.12.20-r1.ebuild)7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys-apps/dbus/dbus-1.12.20-r1.ebuild b/sys-apps/dbus/dbus-1.12.20-r2.ebuild
index 06071bbc0200..8b4f89206a05 100644
--- a/sys-apps/dbus/dbus-1.12.20-r1.ebuild
+++ b/sys-apps/dbus/dbus-1.12.20-r2.ebuild
@@ -3,8 +3,8 @@
EAPI=7
-PYTHON_COMPAT=( python3_{7,8,9} )
-inherit autotools flag-o-matic linux-info python-any-r1 readme.gentoo-r1 systemd virtualx multilib-minimal
+PYTHON_COMPAT=( python3_{8,9} )
+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"
HOMEPAGE="https://dbus.freedesktop.org/"
@@ -246,9 +246,12 @@ multilib_src_install_all() {
pkg_postinst() {
readme.gentoo_print_elog
+ tmpfiles_process dbus.conf
+
# 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
# dependencies with hardcoded paths (although the known ones got fixed already)
+ # TODO: should be safe to remove at least the ln because of the above tmpfiles_process?
dbus-uuidgen --ensure="${EROOT}"/etc/machine-id
ln -sf "${EPREFIX}"/etc/machine-id "${EROOT}"/var/lib/dbus/machine-id