summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2026-04-16 16:38:23 +0800
committerKhem Raj <khem.raj@oss.qualcomm.com>2026-04-16 12:21:08 -0700
commit2df018ea4ba69fc762152ee3352778016817404d (patch)
treeb704b9573ad0a9ed5ac2db1b5e4b41aa389d166b /meta-oe/recipes-extended
parent2b16c1638903fc48d94e4e04f142a713cc60ed9c (diff)
downloadmeta-openembedded-2df018ea4ba69fc762152ee3352778016817404d.tar.gz
dlt-daemon: fix missing application description
Running "dlt-example-user 'test'", Check "dlt-control -j localhost", will not get application description: APID:LOG- Expected: APID:LOG- Test Application for Logging Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Diffstat (limited to 'meta-oe/recipes-extended')
-rw-r--r--meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0001-dlt-daemon.c-fix-wrong-len.patch37
-rw-r--r--meta-oe/recipes-extended/dlt-daemon/dlt-daemon_3.0.0.bb1
2 files changed, 38 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0001-dlt-daemon.c-fix-wrong-len.patch b/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0001-dlt-daemon.c-fix-wrong-len.patch
new file mode 100644
index 0000000000..bac7691c32
--- /dev/null
+++ b/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0001-dlt-daemon.c-fix-wrong-len.patch
@@ -0,0 +1,37 @@
1From 7e94c281563ff0eb67e521cf0a6fc3049f732214 Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com>
3Date: Wed, 15 Apr 2026 16:52:19 +0800
4Subject: [PATCH] dlt-daemon.c: fix wrong len
5
6Set len to 0 makes the application description always empty.
7One of the failure case:
8Running "dlt-example-user 'test'",
9Check "dlt-control -j localhost", will not get application description:
10APID:LOG-
11
12Expected:
13APID:LOG- Test Application for Logging
14
15Upstream-Status: Backport [https://github.com/COVESA/dlt-daemon/pull/852]
16
17Signed-off-by: Changqing Li <changqing.li@windriver.com>
18---
19 src/daemon/dlt-daemon.c | 2 +-
20 1 file changed, 1 insertion(+), 1 deletion(-)
21
22diff --git a/src/daemon/dlt-daemon.c b/src/daemon/dlt-daemon.c
23index 8c318a4..38fe824 100644
24--- a/src/daemon/dlt-daemon.c
25+++ b/src/daemon/dlt-daemon.c
26@@ -4110,7 +4110,7 @@ int dlt_daemon_process_user_message_register_application(DltDaemon *daemon,
27 to_remove = (uint32_t) temp;
28 }
29
30- len = 0;
31+ len = userapp.description_length;
32
33 if (len > DLT_DAEMON_DESCSIZE) {
34 len = DLT_DAEMON_DESCSIZE;
35--
362.34.1
37
diff --git a/meta-oe/recipes-extended/dlt-daemon/dlt-daemon_3.0.0.bb b/meta-oe/recipes-extended/dlt-daemon/dlt-daemon_3.0.0.bb
index 141dce57cd..cbeb8c3703 100644
--- a/meta-oe/recipes-extended/dlt-daemon/dlt-daemon_3.0.0.bb
+++ b/meta-oe/recipes-extended/dlt-daemon/dlt-daemon_3.0.0.bb
@@ -24,6 +24,7 @@ SRC_URI = "git://github.com/COVESA/${BPN}.git;protocol=https;branch=master \
24 file://0001-Fix-build-failure-with-glibc-2.43.patch \ 24 file://0001-Fix-build-failure-with-glibc-2.43.patch \
25 file://0001-CMakeLists.txt-make-CONFIGURATION_FILES_DIR-aligned.patch \ 25 file://0001-CMakeLists.txt-make-CONFIGURATION_FILES_DIR-aligned.patch \
26 file://0001-warnings-Fix-clang-generated-warnings.patch \ 26 file://0001-warnings-Fix-clang-generated-warnings.patch \
27 file://0001-dlt-daemon.c-fix-wrong-len.patch \
27 " 28 "
28SRCREV = "f595ea29d1007ca1c3b2d1fd3a88adf7d3db6320" 29SRCREV = "f595ea29d1007ca1c3b2d1fd3a88adf7d3db6320"
29 30