From 0b3ee7c8ba1e80fbfe86dbcf20dd5e51aaf1d8ff Mon Sep 17 00:00:00 2001 From: Gianfranco Date: Mon, 10 Aug 2020 08:46:32 +0200 Subject: [PATCH] dlt-daemon: enable some configurations by default in PACKAGECONFIG such as udp-connection dlt-system dlt-filetransfer and if systemd is enabled also: - systemd - systemd-watchdog - systemd-journal - dlt-examples - dlt-adaptor - dlt-console rationale is: all of the keys above are not that heavy in building and running, and dlt-daemon doesn't take more than some seconds to build. Not building them by default can result in a lot of missing functionalities to the end user, such as the ability to talk with the dlt-daemon via bash script or Python. The end user can still change or disable something if needed. Signed-off-by: Gianfranco Costamagna Signed-off-by: Gianfranco Costamagna Signed-off-by: Khem Raj --- meta-oe/recipes-extended/dlt-daemon/dlt-daemon_2.18.5.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-extended/dlt-daemon/dlt-daemon_2.18.5.bb b/meta-oe/recipes-extended/dlt-daemon/dlt-daemon_2.18.5.bb index 2bb2107915..e7a194ac80 100644 --- a/meta-oe/recipes-extended/dlt-daemon/dlt-daemon_2.18.5.bb +++ b/meta-oe/recipes-extended/dlt-daemon/dlt-daemon_2.18.5.bb @@ -23,7 +23,10 @@ SRCREV = "f1ac087c766827b1d0ed9c3a814b3cc052e948f2" S = "${WORKDIR}/git" -PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES','systemd', d)}" +PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', ' systemd systemd-watchdog systemd-journal dlt-examples dlt-adaptor dlt-console ', '', d)} \ + udp-connection dlt-system dlt-filetransfer " +# dlt-dbus + # General options PACKAGECONFIG[dlt-examples] = "-DWITH_DLT_EXAMPLES=ON,-DWITH_DLT_EXAMPLES=OFF,,dlt-daemon-systemd"