mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
gphoto2: Fix /usr/bin/gphoto2 runtime error
After fixing the TMPDIR [buildpaths] warning, a segmentation fault while running gphoto2 command. It seems 'sed' is primarily designed for text processing. When running 'sed' on a binary, it may overwrite or corrupt critical parts of the binary. > root@qemux86-64:~# gphoto2 -v > Segmentation fault Signed-off-by: Hieu Van Nguyen <hieu2.nguyen@lge.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
committed by
Khem Raj
parent
4abff7bcb7
commit
63351d7887
@@ -19,8 +19,6 @@ EXTRA_OECONF += "--with-jpeg-prefix=${STAGING_INCDIR} \
|
|||||||
--without-cdk \
|
--without-cdk \
|
||||||
"
|
"
|
||||||
|
|
||||||
INSANE_SKIP:${PN} = "already-stripped"
|
do_configure:append() {
|
||||||
|
sed -i -e 's#${RECIPE_SYSROOT}##g' ${B}/config.h
|
||||||
do_install:append() {
|
|
||||||
sed -i -e 's#${RECIPE_SYSROOT}##g' ${D}${bindir}/gphoto2
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user