aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-core/recipes-core
diff options
context:
space:
mode:
authorNaoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>2024-11-04 01:02:32 +0900
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2024-11-19 13:32:27 +0000
commitbc090d5bf8d094cb474ede25e770b5506ff7b699 (patch)
tree008d1e037cde21a3bdf7700d80b3497d29c82d65 /meta-agl-core/recipes-core
parent9662ef604cd0c10336c2eb20e57d88627ec30811 (diff)
Enable systemd-timesyncd in case of using systemd-networkd
At SPEC-737, systemd-timesyncd was disabled every case. It causes NTP capability lost in case of using systemd-networkd. This patch enable conditionally enable/disable for systemd-timesyncd. Bug-AGL: SPEC-5274 Change-Id: I2fb4841c341f1b0a90a4868627102704aafd0f6a Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/30505 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
Diffstat (limited to 'meta-agl-core/recipes-core')
-rw-r--r--meta-agl-core/recipes-core/systemd/systemd_aglcore.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta-agl-core/recipes-core/systemd/systemd_aglcore.inc b/meta-agl-core/recipes-core/systemd/systemd_aglcore.inc
index 9681329be..ec64cedca 100644
--- a/meta-agl-core/recipes-core/systemd/systemd_aglcore.inc
+++ b/meta-agl-core/recipes-core/systemd/systemd_aglcore.inc
@@ -12,8 +12,9 @@ PACKAGECONFIG:append = " \
iptc \
"
-# SPEC-737: connmand also has a NTP client which races with systemd-timesyncd
-PACKAGECONFIG:remove = "timesyncd"
+PACKAGECONFIG:remove = " \
+ ${@bb.utils.contains('VIRTUAL-RUNTIME_net_manager','systemd','','timesyncd',d)} \
+"
# Enable systemd-coredump when agl-devel is set on
PACKAGECONFIG:append:agl-devel = " coredump"