From fbed82f178f6e1352eb0f6a08b6c4a3163d46e01 Mon Sep 17 00:00:00 2001 From: Michael Marineau Date: Mon, 30 Jun 2014 16:48:55 -0700 Subject: [PATCH] systemd: remove timesyncd symlink from /etc Along with the other services systemd is enabling in /etc the built in SNTP client has been added to. Unlike the others we don't re-enable it in /usr since we are currently using ntpd instead. --- .../coreos-overlay/sys-apps/systemd/systemd-9999.ebuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sdk_container/src/third_party/coreos-overlay/sys-apps/systemd/systemd-9999.ebuild b/sdk_container/src/third_party/coreos-overlay/sys-apps/systemd/systemd-9999.ebuild index d75510874f..8d1131d20c 100644 --- a/sdk_container/src/third_party/coreos-overlay/sys-apps/systemd/systemd-9999.ebuild +++ b/sdk_container/src/third_party/coreos-overlay/sys-apps/systemd/systemd-9999.ebuild @@ -359,6 +359,7 @@ multilib_src_install_all() { dosym multi-user.target /usr/lib/systemd/system/default.target # Move a few services enabled in /etc to /usr + # systemd-timesyncd is left disabled, we currently use ntpd rm "${D}"/etc/systemd/system/getty.target.wants/getty@tty1.service || die rmdir "${D}"/etc/systemd/system/getty.target.wants || die dosym ../getty@.service /usr/lib/systemd/system/getty.target.wants/getty@tty1.service @@ -366,6 +367,7 @@ multilib_src_install_all() { rm "${D}"/etc/systemd/system/multi-user.target.wants/remote-fs.target \ "${D}"/etc/systemd/system/multi-user.target.wants/systemd-networkd.service \ "${D}"/etc/systemd/system/multi-user.target.wants/systemd-resolved.service \ + "${D}"/etc/systemd/system/multi-user.target.wants/systemd-timesyncd.service \ "${D}"/etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service \ || die rmdir "${D}"/etc/systemd/system/multi-user.target.wants \