summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2024-10-24 09:47:45 +0800
committerKhem Raj <raj.khem@gmail.com>2024-10-24 05:52:20 -0700
commit38b782183848a1257a45099dfb65282726c3d6c1 (patch)
tree01500ca916e479521742824d031b409955d5519d
parent8a34c944127fd81fd34bc3b77e22edda07fc2768 (diff)
downloadmeta-openembedded-38b782183848a1257a45099dfb65282726c3d6c1.tar.gz
postgresql.inc: fix do_package_qa error
Replacing P with BP to fix following do_package_qa error for lib32-postgresql: ERROR: QA Issue: File /usr/src/debug/lib32-postgresql/16.4/src/pl/plperl/SPI.c in package lib32-postgresql-src contains reference to TMPDIR [buildpaths] Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-dbs/postgresql/postgresql.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-dbs/postgresql/postgresql.inc b/meta-oe/recipes-dbs/postgresql/postgresql.inc
index 4fc2e47b35..fb3bca2724 100644
--- a/meta-oe/recipes-dbs/postgresql/postgresql.inc
+++ b/meta-oe/recipes-dbs/postgresql/postgresql.inc
@@ -242,7 +242,7 @@ postgresql_fix_sources () {
242 for f in ${PKGD}${TARGET_DBGSRC_DIR}/src/pl/plperl/Util.c \ 242 for f in ${PKGD}${TARGET_DBGSRC_DIR}/src/pl/plperl/Util.c \
243 ${PKGD}${TARGET_DBGSRC_DIR}/src/pl/plperl/SPI.c; do 243 ${PKGD}${TARGET_DBGSRC_DIR}/src/pl/plperl/SPI.c; do
244 if [ -e $f ]; then 244 if [ -e $f ]; then
245 sed -i -e 's#${B}/../${P}#${TARGET_DBGSRC_DIR}#g' $f 245 sed -i -e 's#${B}/../${BP}#${TARGET_DBGSRC_DIR}#g' $f
246 fi 246 fi
247 done 247 done
248} 248}