All systemd services use "genivi" as User option. There is no such username
so these services would fail.

Signed-off-by: Andrei Gherzan <andrei.gher...@windriver.com>
---
 recipes-extended/dlt-daemon/dlt-daemon_2.9.0.bb |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/recipes-extended/dlt-daemon/dlt-daemon_2.9.0.bb 
b/recipes-extended/dlt-daemon/dlt-daemon_2.9.0.bb
index 5be4aba..58aaa15 100644
--- a/recipes-extended/dlt-daemon/dlt-daemon_2.9.0.bb
+++ b/recipes-extended/dlt-daemon/dlt-daemon_2.9.0.bb
@@ -11,7 +11,7 @@ DESCRIPTION = "This component provides a standardised log and 
trace interface, b
 HOMEPAGE = "https://www.genivi.org/";
 SECTION = "console/utils"
 
-PR = "r0"
+PR = "r1"
 
 inherit gzipnative
 
@@ -33,3 +33,9 @@ FILES_${PN}-systemd += "${systemd_unitdir}/system/"
 PACKAGES =+ "${PN}-systemd"
 
 EXTRA_OECMAKE = "-DWITH_SYSTEMD=ON"
+
+# Remove "User=genivi" option from systemd services
+# as there is no such username
+do_install_append() {
+    sed -i '/User/d' ${D}/${systemd_unitdir}/system/*.service
+}
-- 
1.7.5.4

_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to