node-startup-controller: Avoid error while reconfigure
PATCH 1/2 node-startup-controller: Avoid error while reconfigure
| DEBUG: Executing shell function do_configure | mkdir: cannot create directory `m4': File exists
Signed-off-by Andrei Gherzan <[email protected]>
--- .../node-startup-controller_1.0.1.bb | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
recipes-extended/node-startup-controller/node-startup-controller_1.0.1.bb +2 -2
@@ -15,7 +15,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=815ca599c9df247a0c7f619bab123dad" # tag 1.0.1 : f109eab4393fcb55ecbb0a21d68436a5057a6b82 SRC_URI = "git://git.projects.genivi.org/lifecycle/node-startup-controller.git;protocol=git;tag=f109eab4393fcb55ecbb0a21d68436a5057a6b82 \ file://use-systemd-unit-dir.patch" -PR = "r2" +PR = "r3" DEPENDS = "glib-2.0 dlt-daemon systemd"
@@ -23,7 +23,7 @@ S = "${WORKDIR}/git" inherit autotools gtk-doc systemd do_configure_prepend () { - mkdir m4 + mkdir -p m4 } PACKAGES =+ "${PN}-nsm-dummy ${PN}-nsm-dummy-dbg"
Signature · 1 line
1.7.5.4
PATCH 2/2 dlt-daemon: Remove User option from systemd services
All systemd services use "genivi" as User option. There is no such username so these services would fail.
Signed-off-by Andrei Gherzan <[email protected]>
--- recipes-extended/dlt-daemon/dlt-daemon_2.9.0.bb | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-)
recipes-extended/dlt-daemon/dlt-daemon_2.9.0.bb +7 -1
@@ -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 +}
Signature · 1 line
1.7.5.4