Skip to contentSkip to conversation

mozjs-102: Remove the buildpath

PATCH New [email protected] 1 participant 1 message Sep 27, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mozjs-102: Remove the buildpath

From: Mingli Yu <[email protected]>

Fixes:
WARNING: mozjs-102-102.9.0-r0 do_package_qa: QA Issue: File /usr/src/debug/mozjs-102/102.9.0-r0/intl/components/Unified_cpp_intl_components4.cpp in package mozjs-102-src contains reference to TMPDIR
File /usr/src/debug/mozjs-102/102.9.0-r0/intl/components/Unified_cpp_intl_components0.cpp in package mozjs-102-src contains reference to TMPDIR

---
 meta-oe/recipes-extended/mozjs/mozjs-102_102.15.0.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-extended/mozjs/mozjs-102_102.15.0.bb +2 -0
index 08cfededa..15b90cb16 100644
@@ -73,6 +73,8 @@ do_install:append() {
     sed -e 's@${STAGING_DIR_HOST}@@g' \
         -i ${D}${bindir}/js102-config
     rm -f ${D}${libdir}/libjs_static.ajs
+    # remove the build path
+    sed -i -e 's@${WORKDIR}@@g' `find ${B} -name Unified_c*.c*`
 }
 
 PACKAGES =+ "lib${BPN}"
Signature · 1 line
2.25.1