From 498ad0ba089493736e3d76b0b202c6b9e6ec0c46 Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Sat, 26 Sep 2020 14:21:45 +0200 Subject: [PATCH] sys-apps/systemd: Enable more services These normally would be pulled by systemdctl enable when enabling systemd-networkd.service, because they are used in Also= options. In such case, we need to pull them ourselves, so they can be enabled in /usr, not in /etc. --- .../coreos-overlay/sys-apps/systemd/systemd-9999.ebuild | 6 ++++++ 1 file changed, 6 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 4340621987..1c85c33a2d 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 @@ -433,6 +433,12 @@ multilib_src_install_all() { # Flatcar: getty@.service is enabled manually below. systemd_enable_service sysinit.target systemd-timesyncd.service systemd_enable_service multi-user.target systemd-networkd.service + # For systemd-networkd.service, it has it in Also, which also + # needs to be enabled + systemd_enable_service sockets.target systemd-networkd.socket + # For systemd-networkd.service, it has it in Also, which also + # needs to be enabled + systemd_enable_service network-online.target systemd-networkd-wait-online.service systemd_enable_service multi-user.target systemd-resolved.service # Flatcar: not enabling reboot.target - it has no WantedBy # entry.