mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
gexiv2: Fix do_package QA issue when usrmerge enabled.
ERROR: gexiv2-0.14.2-r0 do_package: QA Issue: gexiv2: Files/directories were installed but not shipped in any package:
/usr/lib
/usr/lib/python3.11
/usr/lib/python3.11/site-packages
/usr/lib/python3.11/site-packages/gi
/usr/lib/python3.11/site-packages/gi/overrides
/usr/lib/python3.11/site-packages/gi/overrides/GExiv2.py
/usr/lib/python3.11/site-packages/gi/overrides/__pycache__
/usr/lib/python3.11/site-packages/gi/overrides/__pycache__/GExiv2.cpython-311.pyc
Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit eddc2571a7)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
parent
b7c6ff1251
commit
210800f123
|
|
@ -25,3 +25,11 @@ src_package_preprocess () {
|
|||
sed -i -e "s,${B}/../${BPN}-${PV}/${BPN}/,,g" \
|
||||
${B}/gexiv2/gexiv2-enums.cpp
|
||||
}
|
||||
|
||||
do_install:append() {
|
||||
# gexiv2 harcodes usr/lib as install path, so this corrects it to actual libdir
|
||||
if [ "${prefix}/lib" != "${libdir}" ]; then
|
||||
mv ${D}/${prefix}/lib/* ${D}/${libdir}/
|
||||
rm -rf ${D}/${prefix}/lib
|
||||
fi
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user