Skip to contentSkip to conversation

etcd-cpp-apiv3: Fix contains reference to TMPDIR [buildpaths] warning

PATCH New alperak 1 participant 1 message Aug 1, 2024

lore
Share & tools
lore

alperak

author
#0 lore raw

PATCH 1/1 etcd-cpp-apiv3: Fix contains reference to TMPDIR [buildpaths] warning

WARNING: etcd-cpp-apiv3-0.15.4-r0 do_package_qa: QA Issue: File /usr/lib/cmake/etcd-cpp-api/etcd-targets.cmake in package etcd-cpp-apiv3-dev contains reference to TMPDIR [buildpaths]

---
 meta-oe/recipes-extended/etcd/etcd-cpp-apiv3_0.15.4.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta-oe/recipes-extended/etcd/etcd-cpp-apiv3_0.15.4.bb +4 -0
index 88a8ba346..7b7e3bc7a 100644
@@ -19,5 +19,9 @@ S = "${WORKDIR}/git"
 
 EXTRA_OECONF += "-DCPPREST_EXCLUDE_WEBSOCKETS=ON"
 
+do_install:append() {
+	sed -i -e 's#${RECIPE_SYSROOT}##g' ${D}${libdir}/cmake/etcd-cpp-api/etcd-targets.cmake
+}
+
 SOLIBS = ".so"
 FILES_SOLIBSDEV = ""
Signature · 1 line
2.25.1