Skip to contentSkip to conversation

resource-agents: Fix buildpaths warning.

PATCH In review [email protected] 2 participants 2 messages Jan 24, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 resource-agents: Fix buildpaths warning.

From: Wang Mingyu <[email protected]>

WARNING: resource-agents-4.5.0-r0 do_package_qa: QA Issue: File /usr/lib/ocf/lib/heartbeat/ocf-binaries in package resource-agents contains reference to TMPDIR [buildpaths]

---
 .../recipes-cgl/cluster-resource-agents/resource-agents_4.5.0.bb | 1 +
 1 file changed, 1 insertion(+)
meta-cgl-common/recipes-cgl/cluster-resource-agents/resource-agents_4.5.0.bb +1 -0
index 357669a..a1b6624 100644
@@ -63,6 +63,7 @@ EXTRA_OECONF += "--disable-fatal-warnings \
 do_install:append() {
     rm -rf ${D}${localstatedir}/run
     rm -rf ${D}${localstatedir}
+    sed -i 's,${TMPDIR},${bindir},g' ${D}${libdir}/ocf/lib/heartbeat/ocf-binaries
 }
 
 # tickle_tcp is published under GPLv3, we just split it into ${PN}-extra,
Signature · 1 line
2.34.1
#1 lore raw

Merged. Thanks!

Quoted 21 lines · On 1/23/2024 7:32 PM, [email protected] wrote:

From: Wang Mingyu <[email protected]>

WARNING: resource-agents-4.5.0-r0 do_package_qa: QA Issue: File /usr/lib/ocf/lib/heartbeat/ocf-binaries in package resource-agents contains reference to TMPDIR [buildpaths]

---
  .../recipes-cgl/cluster-resource-agents/resource-agents_4.5.0.bb | 1 +
  1 file changed, 1 insertion(+)
meta-cgl-common/recipes-cgl/cluster-resource-agents/resource-agents_4.5.0.bb +1 -0
index 357669a..a1b6624 100644
@@ -63,6 +63,7 @@ EXTRA_OECONF += "--disable-fatal-warnings \
  do_install:append() {
      rm -rf ${D}${localstatedir}/run
      rm -rf ${D}${localstatedir}
+    sed -i 's,${TMPDIR},${bindir},g' ${D}${libdir}/ocf/lib/heartbeat/ocf-binaries
  }
 
  # tickle_tcp is published under GPLv3, we just split it into ${PN}-extra,
Signature · 2 lines
Jeremy Puhlman
[email protected]