gphoto2: Fix contains reference to TMPDIR [buildpaths] warning
PATCH 1/1 gphoto2: Fix contains reference to TMPDIR [buildpaths] warning
WARNING: gphoto2-2.5.28-r0 do_package_qa: QA Issue: File /usr/bin/gphoto2 in package gphoto2 contains reference to TMPDIR [buildpaths]
ERROR: gphoto2-2.5.28-r0 do_package: QA Issue: File '/usr/bin/gphoto2' from gphoto2 was already stripped, this will prevent future debugging! [already-stripped]
ERROR: gphoto2-2.5.28-r0 do_package: Fatal QA errors were found, failing task.
Signed-off-by alperak <[email protected]>
--- meta-oe/recipes-graphics/gphoto2/gphoto2_2.5.28.bb | 5 +++++ 1 file changed, 5 insertions(+)
meta-oe/recipes-graphics/gphoto2/gphoto2_2.5.28.bb +5 -0
@@ -19,3 +19,8 @@ EXTRA_OECONF += "--with-jpeg-prefix=${STAGING_INCDIR} \ --without-cdk \ " +INSANE_SKIP:${PN} = "already-stripped" + +do_install:append() { + sed -i -e 's#${RECIPE_SYSROOT}##g' ${D}${bindir}/gphoto2 +}
Signature · 1 line
2.25.1