1 |
commit: ee86e592e78de9985c2e0d426ca3352927ddc04c |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 4 20:47:09 2019 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 4 20:47:40 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee86e592 |
7 |
|
8 |
sys-apps/systemd: remove /var/lib/systemd/timesync symlink |
9 |
|
10 |
Closes: https://bugs.gentoo.org/682488 |
11 |
Package-Manager: Portage-2.3.62_p4, Repoman-2.3.12_p87 |
12 |
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> |
13 |
|
14 |
sys-apps/systemd/systemd-242_rc3.ebuild | 4 ++++ |
15 |
sys-apps/systemd/systemd-9999.ebuild | 4 ++++ |
16 |
2 files changed, 8 insertions(+) |
17 |
|
18 |
diff --git a/sys-apps/systemd/systemd-242_rc3.ebuild b/sys-apps/systemd/systemd-242_rc3.ebuild |
19 |
index bbb07c49e43..c167a2fd0b7 100644 |
20 |
--- a/sys-apps/systemd/systemd-242_rc3.ebuild |
21 |
+++ b/sys-apps/systemd/systemd-242_rc3.ebuild |
22 |
@@ -445,6 +445,10 @@ pkg_postinst() { |
23 |
systemctl --root="${ROOT:-/}" enable "${ENABLED_UNITS[@]}" |
24 |
fi |
25 |
|
26 |
+ if [[ -L ${EROOT}/var/lib/systemd/timesync ]]; then |
27 |
+ rm "${EROOT}/var/lib/systemd/timesync" |
28 |
+ fi |
29 |
+ |
30 |
if [[ -z ${ROOT} && -d /run/systemd/system ]]; then |
31 |
ebegin "Reexecuting system manager" |
32 |
systemctl daemon-reexec |
33 |
|
34 |
diff --git a/sys-apps/systemd/systemd-9999.ebuild b/sys-apps/systemd/systemd-9999.ebuild |
35 |
index bbb07c49e43..c167a2fd0b7 100644 |
36 |
--- a/sys-apps/systemd/systemd-9999.ebuild |
37 |
+++ b/sys-apps/systemd/systemd-9999.ebuild |
38 |
@@ -445,6 +445,10 @@ pkg_postinst() { |
39 |
systemctl --root="${ROOT:-/}" enable "${ENABLED_UNITS[@]}" |
40 |
fi |
41 |
|
42 |
+ if [[ -L ${EROOT}/var/lib/systemd/timesync ]]; then |
43 |
+ rm "${EROOT}/var/lib/systemd/timesync" |
44 |
+ fi |
45 |
+ |
46 |
if [[ -z ${ROOT} && -d /run/systemd/system ]]; then |
47 |
ebegin "Reexecuting system manager" |
48 |
systemctl daemon-reexec |