diff options
author | Mike Gilbert <floppym@gentoo.org> | 2019-04-04 16:47:09 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2019-04-04 16:47:40 -0400 |
commit | ee86e592e78de9985c2e0d426ca3352927ddc04c (patch) | |
tree | 6d5c38d96f5f2967e60b3ced3a1dce633edbce37 /sys-apps | |
parent | media-sound/mp3splt-gtk: fix DEPENDS (diff) | |
download | gentoo-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.ebuild | 4 | ||||
-rw-r--r-- | sys-apps/systemd/systemd-9999.ebuild | 4 |
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 bbb07c49e43b..c167a2fd0b76 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 bbb07c49e43b..c167a2fd0b76 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 |