From d70d0aa7803688a772677e2868a11b96904b56f7 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Thu, 22 Oct 2015 15:19:42 -0400 Subject: sys-apps/dbus: Fix machine-id symlink when ROOT != / Bug: https://bugs.gentoo.org/560646 Package-Manager: portage-2.2.23_p7 --- sys-apps/dbus/dbus-1.8.16.ebuild | 2 +- sys-apps/dbus/dbus-1.8.18.ebuild | 2 +- sys-apps/dbus/dbus-1.8.20.ebuild | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'sys-apps/dbus') diff --git a/sys-apps/dbus/dbus-1.8.16.ebuild b/sys-apps/dbus/dbus-1.8.16.ebuild index 1bba9db1416d..c9b188da442b 100644 --- a/sys-apps/dbus/dbus-1.8.16.ebuild +++ b/sys-apps/dbus/dbus-1.8.16.ebuild @@ -223,7 +223,7 @@ pkg_postinst() { # for DBUS_MACHINE_UUID_FILE (see tools/dbus-launch.c) and reverse # dependencies with hardcoded paths (although the known ones got fixed already) dbus-uuidgen --ensure="${EROOT%/}"/etc/machine-id - ln -sf "${EROOT%/}"/etc/machine-id "${EROOT%/}"/var/lib/dbus/machine-id + ln -sf "${EPREFIX}"/etc/machine-id "${EROOT%/}"/var/lib/dbus/machine-id if [[ ${CHOST} == *-darwin* ]]; then local plist="org.freedesktop.dbus-session.plist" diff --git a/sys-apps/dbus/dbus-1.8.18.ebuild b/sys-apps/dbus/dbus-1.8.18.ebuild index 824ceb85a73f..ed5e8b23aeda 100644 --- a/sys-apps/dbus/dbus-1.8.18.ebuild +++ b/sys-apps/dbus/dbus-1.8.18.ebuild @@ -227,7 +227,7 @@ pkg_postinst() { # for DBUS_MACHINE_UUID_FILE (see tools/dbus-launch.c) and reverse # dependencies with hardcoded paths (although the known ones got fixed already) dbus-uuidgen --ensure="${EROOT%/}"/etc/machine-id - ln -sf "${EROOT%/}"/etc/machine-id "${EROOT%/}"/var/lib/dbus/machine-id + ln -sf "${EPREFIX}"/etc/machine-id "${EROOT%/}"/var/lib/dbus/machine-id if [[ ${CHOST} == *-darwin* ]]; then local plist="org.freedesktop.dbus-session.plist" diff --git a/sys-apps/dbus/dbus-1.8.20.ebuild b/sys-apps/dbus/dbus-1.8.20.ebuild index 824ceb85a73f..ed5e8b23aeda 100644 --- a/sys-apps/dbus/dbus-1.8.20.ebuild +++ b/sys-apps/dbus/dbus-1.8.20.ebuild @@ -227,7 +227,7 @@ pkg_postinst() { # for DBUS_MACHINE_UUID_FILE (see tools/dbus-launch.c) and reverse # dependencies with hardcoded paths (although the known ones got fixed already) dbus-uuidgen --ensure="${EROOT%/}"/etc/machine-id - ln -sf "${EROOT%/}"/etc/machine-id "${EROOT%/}"/var/lib/dbus/machine-id + ln -sf "${EPREFIX}"/etc/machine-id "${EROOT%/}"/var/lib/dbus/machine-id if [[ ${CHOST} == *-darwin* ]]; then local plist="org.freedesktop.dbus-session.plist" -- cgit v1.2.3-65-gdbad