diff options
author | Kenta <murakami.kenta002@jp.panasonic.com> | 2025-01-14 20:21:02 +0900 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2025-01-17 08:49:37 +0000 |
commit | d81cbb24347f42be696984087846d29c67519be8 (patch) | |
tree | 7b55ec0e0690676683dfab0730af79226f4ae28f | |
parent | 5225fd94b366f8a51939dae72521cd8dc05ad455 (diff) |
Unified HMI: Fix QA WARNING
Some QA WARNINGs occurred when building uhmi ddfw recipes.
This commit resolves them by fixing the recipes.
Bug-AGL: SPEC-5254
Change-Id: Ibe2d8bdbd1449b5d3f82fced87fe4e6a74dce6c9
Signed-off-by: Kenta <murakami.kenta002@jp.panasonic.com>
-rw-r--r-- | meta-uhmi/recipes-core/ucl-tools/ucl-tools_git.bb | 2 | ||||
-rw-r--r-- | meta-uhmi/recipes-core/uhmi-ivi-wm/uhmi-ivi-wm_git.bb | 5 | ||||
-rw-r--r-- | meta-uhmi/recipes-core/ula-tools/ula-tools_git.bb | 7 |
3 files changed, 4 insertions, 10 deletions
diff --git a/meta-uhmi/recipes-core/ucl-tools/ucl-tools_git.bb b/meta-uhmi/recipes-core/ucl-tools/ucl-tools_git.bb index cc26678b..2c3111d7 100644 --- a/meta-uhmi/recipes-core/ucl-tools/ucl-tools_git.bb +++ b/meta-uhmi/recipes-core/ucl-tools/ucl-tools_git.bb @@ -28,7 +28,7 @@ inherit go RDEPENDS:${PN} = "bash" RDEPENDS:${PN}-dev = "bash" -inherit systemd +inherit systemd features_check SRC_URI += " file://ucl-launcher.service" REQUIRED_DISTRO_FEATURES = "systemd" diff --git a/meta-uhmi/recipes-core/uhmi-ivi-wm/uhmi-ivi-wm_git.bb b/meta-uhmi/recipes-core/uhmi-ivi-wm/uhmi-ivi-wm_git.bb index daa5fff4..57af74ef 100644 --- a/meta-uhmi/recipes-core/uhmi-ivi-wm/uhmi-ivi-wm_git.bb +++ b/meta-uhmi/recipes-core/uhmi-ivi-wm/uhmi-ivi-wm_git.bb @@ -19,10 +19,8 @@ PV = "0.0+git${SRCPV}" S = "${WORKDIR}/git" -inherit cmake +inherit cmake systemd features_check - -inherit systemd SRC_URI += " file://uhmi-ivi-wm.service" REQUIRED_DISTRO_FEATURES = "systemd" SYSTEMD_PACKAGES = "${PN}" @@ -39,6 +37,5 @@ do_install:append() { fi } - FILES:${PN} += " /usr/bin/uhmi-ivi-wm" FILES:${PN} += " /usr/share/*" diff --git a/meta-uhmi/recipes-core/ula-tools/ula-tools_git.bb b/meta-uhmi/recipes-core/ula-tools/ula-tools_git.bb index 9b945a3f..1dc26e20 100644 --- a/meta-uhmi/recipes-core/ula-tools/ula-tools_git.bb +++ b/meta-uhmi/recipes-core/ula-tools/ula-tools_git.bb @@ -18,18 +18,16 @@ PV = "0.0+git${SRCPV}" S = "${WORKDIR}/git" - export GO111MODULE="auto" GO_IMPORT = "ula-tools" GO_INSTALL = " ${GO_IMPORT}/cmd/ula-distrib-com ${GO_IMPORT}/cmd/ula-node" - inherit go RDEPENDS:${PN} = "jq bash" RDEPENDS:${PN}-dev = "bash" -inherit systemd +inherit systemd features_check SRC_URI += " \ file://ula-node.service \ @@ -47,10 +45,10 @@ FILES:${PN} += " \ do_compile:append() { export CGO_ENABLED="1" + export GOFLAGS="-mod=vendor -trimpath" ${GO} build -buildmode=c-shared -o ${GOPATH}/pkg/libulaclient.so -v -ldflags '-extldflags "-Wl,-soname=libulaclient.so"' ${GO_IMPORT}/pkg/ula-client-lib } - do_install:append() { if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then install -d ${D}${systemd_system_unitdir} @@ -65,7 +63,6 @@ do_install:append() { install -d ${D}${includedir} install -m 644 ${GOPATH}/pkg/libulaclient.h ${D}${includedir} - } FILES:${PN} += "${libdir}" |