diff options
author | Khem Raj <raj.khem@gmail.com> | 2025-02-06 21:49:06 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-02-06 21:51:34 -0800 |
commit | bdbc71f61a86b598fc72bcc167e6bf1f7cc33b08 (patch) | |
tree | bba44683e683b109be4b395720114d426d59ed63 | |
parent | 625c74321cd37d0595ca14ba08787aaf0482dbbb (diff) | |
download | meta-openembedded-bdbc71f61a86b598fc72bcc167e6bf1f7cc33b08.tar.gz |
gphoto: Fix regex to remove --sysroot from CC in config.h
Ensure that the string --syroot=/a/b/c is deleted but not the closing quote
This fixes
QA Issue: File /usr/bin/gphoto2 in package gphoto2 contains reference to TMPDIR [buildpaths]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/recipes-graphics/gphoto2/gphoto2_2.5.28.bb | 2 |
1 files changed, 1 insertions, 1 deletions
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 1dc2a1fc34..c53504378a 100644 --- a/meta-oe/recipes-graphics/gphoto2/gphoto2_2.5.28.bb +++ b/meta-oe/recipes-graphics/gphoto2/gphoto2_2.5.28.bb | |||
@@ -20,5 +20,5 @@ EXTRA_OECONF += "--with-jpeg-prefix=${STAGING_INCDIR} \ | |||
20 | " | 20 | " |
21 | 21 | ||
22 | do_configure:append() { | 22 | do_configure:append() { |
23 | sed -i -e 's#${RECIPE_SYSROOT}##g' ${B}/config.h | 23 | sed -i -E 's/--sysroot=[^ "]*([" ])/\1/g' ${B}/config.h |
24 | } | 24 | } |