summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2019-04-04 16:47:09 -0400
committerMike Gilbert <floppym@gentoo.org>2019-04-04 16:47:40 -0400
commitee86e592e78de9985c2e0d426ca3352927ddc04c (patch)
tree6d5c38d96f5f2967e60b3ced3a1dce633edbce37 /sys-apps
parentmedia-sound/mp3splt-gtk: fix DEPENDS (diff)
downloadgentoo-ee86e592e78de9985c2e0d426ca3352927ddc04c.tar.gz
gentoo-ee86e592e78de9985c2e0d426ca3352927ddc04c.tar.bz2
gentoo-ee86e592e78de9985c2e0d426ca3352927ddc04c.zip
sys-apps/systemd: remove /var/lib/systemd/timesync symlink
Closes: https://bugs.gentoo.org/682488 Package-Manager: Portage-2.3.62_p4, Repoman-2.3.12_p87 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/systemd/systemd-242_rc3.ebuild4
-rw-r--r--sys-apps/systemd/systemd-9999.ebuild4
2 files changed, 8 insertions, 0 deletions
diff --git a/sys-apps/systemd/systemd-242_rc3.ebuild b/sys-apps/systemd/systemd-242_rc3.ebuild
index bbb07c49e43..c167a2fd0b7 100644
--- a/sys-apps/systemd/systemd-242_rc3.ebuild
+++ b/sys-apps/systemd/systemd-242_rc3.ebuild
@@ -445,6 +445,10 @@ pkg_postinst() {
systemctl --root="${ROOT:-/}" enable "${ENABLED_UNITS[@]}"
fi
+ if [[ -L ${EROOT}/var/lib/systemd/timesync ]]; then
+ rm "${EROOT}/var/lib/systemd/timesync"
+ fi
+
if [[ -z ${ROOT} && -d /run/systemd/system ]]; then
ebegin "Reexecuting system manager"
systemctl daemon-reexec
diff --git a/sys-apps/systemd/systemd-9999.ebuild b/sys-apps/systemd/systemd-9999.ebuild
index bbb07c49e43..c167a2fd0b7 100644
--- a/sys-apps/systemd/systemd-9999.ebuild
+++ b/sys-apps/systemd/systemd-9999.ebuild
@@ -445,6 +445,10 @@ pkg_postinst() {
systemctl --root="${ROOT:-/}" enable "${ENABLED_UNITS[@]}"
fi
+ if [[ -L ${EROOT}/var/lib/systemd/timesync ]]; then
+ rm "${EROOT}/var/lib/systemd/timesync"
+ fi
+
if [[ -z ${ROOT} && -d /run/systemd/system ]]; then
ebegin "Reexecuting system manager"
systemctl daemon-reexec