summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2017-07-18 12:56:24 -0400
committerMike Gilbert <floppym@gentoo.org>2017-07-18 12:56:24 -0400
commitfe9f13cf6189140f1e89481cb87a0f544a50657c (patch)
tree51c3cb60e88d73b30ea9a59aa471975e5b2753ae /sys-apps/systemd
parentnet-misc/nextcloud-client: drop old (diff)
downloadgentoo-fe9f13cf6189140f1e89481cb87a0f544a50657c.tar.gz
gentoo-fe9f13cf6189140f1e89481cb87a0f544a50657c.tar.bz2
gentoo-fe9f13cf6189140f1e89481cb87a0f544a50657c.zip
sys-apps/systemd: use relative symlinks for systemd and systemd-shutdown
Bug: https://bugs.gentoo.org/625462 Package-Manager: Portage-2.3.6_p16, Repoman-2.3.2_p84
Diffstat (limited to 'sys-apps/systemd')
-rw-r--r--sys-apps/systemd/systemd-234-r2.ebuild (renamed from sys-apps/systemd/systemd-234-r1.ebuild)4
-rw-r--r--sys-apps/systemd/systemd-9999.ebuild4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys-apps/systemd/systemd-234-r1.ebuild b/sys-apps/systemd/systemd-234-r2.ebuild
index 6aaaaf45860e..57b0f731d66e 100644
--- a/sys-apps/systemd/systemd-234-r1.ebuild
+++ b/sys-apps/systemd/systemd-234-r2.ebuild
@@ -332,8 +332,8 @@ multilib_src_install_all() {
if [[ ! -e "${ED%/}"/usr/lib/systemd/systemd ]]; then
# Avoid breaking boot/reboot
- dosym "${EPREFIX}${ROOTPREFIX%/}/lib/systemd/systemd" /usr/lib/systemd/systemd
- dosym "${EPREFIX}${ROOTPREFIX%/}/lib/systemd/systemd-shutdown" /usr/lib/systemd/systemd-shutdown
+ dosym "../../..${ROOTPREFIX%/}/lib/systemd/systemd" /usr/lib/systemd/systemd
+ dosym "../../..${ROOTPREFIX%/}/lib/systemd/systemd-shutdown" /usr/lib/systemd/systemd-shutdown
fi
}
diff --git a/sys-apps/systemd/systemd-9999.ebuild b/sys-apps/systemd/systemd-9999.ebuild
index 95c11ec5e56f..78c85bbcdd16 100644
--- a/sys-apps/systemd/systemd-9999.ebuild
+++ b/sys-apps/systemd/systemd-9999.ebuild
@@ -331,8 +331,8 @@ multilib_src_install_all() {
if [[ ! -e "${ED%/}"/usr/lib/systemd/systemd ]]; then
# Avoid breaking boot/reboot
- dosym "${EPREFIX}${ROOTPREFIX%/}/lib/systemd/systemd" /usr/lib/systemd/systemd
- dosym "${EPREFIX}${ROOTPREFIX%/}/lib/systemd/systemd-shutdown" /usr/lib/systemd/systemd-shutdown
+ dosym "../../..${ROOTPREFIX%/}/lib/systemd/systemd" /usr/lib/systemd/systemd
+ dosym "../../..${ROOTPREFIX%/}/lib/systemd/systemd-shutdown" /usr/lib/systemd/systemd-shutdown
fi
}