aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMingli Yu <mingli.yu@windriver.com>2022-08-03 15:42:33 +0800
committerArmin Kuster <akuster808@gmail.com>2022-08-07 15:00:49 -0700
commitbbfdaf4cb6a2244c34982f1468139936d0f26500 (patch)
tree81e4658a8d38165f80a899f6d2ecdfdb66d655f9
parent055f26ce9a2607b7412730de728abd6305fd4c80 (diff)
downloadmeta-openembedded-contrib-bbfdaf4cb6a2244c34982f1468139936d0f26500.tar.gz
meta-openembedded-contrib-bbfdaf4cb6a2244c34982f1468139936d0f26500.tar.bz2
meta-openembedded-contrib-bbfdaf4cb6a2244c34982f1468139936d0f26500.zip
openipmi: Fix buildpaths issue
Fixes: WARNING: openipmi-2.0.32-r0 do_package_qa: QA Issue: File /usr/src/debug/openipmi/2.0.32-r0/OpenIPMI-2.0.32/swig/perl/OpenIPMI_wrap.c in package openipmi-src contains reference to TMPDIR [buildpaths] Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 5abd81567d5ed091ed870abf24e51f260747d593) Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-networking/recipes-support/openipmi/openipmi_2.0.32.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/openipmi/openipmi_2.0.32.bb b/meta-networking/recipes-support/openipmi/openipmi_2.0.32.bb
index c61303b81e..8625afaa74 100644
--- a/meta-networking/recipes-support/openipmi/openipmi_2.0.32.bb
+++ b/meta-networking/recipes-support/openipmi/openipmi_2.0.32.bb
@@ -85,6 +85,10 @@ do_configure () {
done
}
+do_compile:append () {
+ sed -i -e 's#${RECIPE_SYSROOT_NATIVE}##g' ${S}/swig/perl/OpenIPMI_wrap.c
+}
+
do_install:append () {
echo "SAL: D = $D"
echo "SAL: libdir = $libdir"