Message ID | 20240626104427.1298483-1-alperyasinak1@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | [meta-oe] gphoto2: Fix contains reference to TMPDIR [buildpaths] warning | expand |
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 513845194..aba590aa0 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,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 +}
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 <alperyasinak1@gmail.com> --- meta-oe/recipes-graphics/gphoto2/gphoto2_2.5.28.bb | 5 +++++ 1 file changed, 5 insertions(+)