From dda0d53326017d6758ec6bdfdaf2f484c089d13f Mon Sep 17 00:00:00 2001 From: Hieu Van Nguyen Date: Fri, 17 Jan 2025 12:39:58 +0900 Subject: gphoto2: Fix contains reference to TMPDIR [buildpaths] warning Remove ${RECIPE_SYSROOT} path from ${B}/config.h to fix the QA warning: WARNING: gphoto2-2.5.28-r0 do_package_qa: QA Issue: File /usr/bin/gphoto2 in package gphoto2 contains reference to TMPDIR [buildpaths] Signed-off-by: Hieu Van Nguyen Signed-off-by: Armin Kuster --- meta-oe/recipes-graphics/gphoto2/gphoto2_2.5.28.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-oe/recipes-graphics/gphoto2/gphoto2_2.5.28.bb b/meta-oe/recipes-graphics/gphoto2/gphoto2_2.5.28.bb index 513845194d..1dc2a1fc34 100644 --- a/meta-oe/recipes-graphics/gphoto2/gphoto2_2.5.28.bb +++ b/meta-oe/recipes-graphics/gphoto2/gphoto2_2.5.28.bb @@ -19,3 +19,6 @@ EXTRA_OECONF += "--with-jpeg-prefix=${STAGING_INCDIR} \ --without-cdk \ " +do_configure:append() { + sed -i -e 's#${RECIPE_SYSROOT}##g' ${B}/config.h +} -- cgit v1.2.3-54-g00ecf