summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/libimobiledevice
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-11-05 22:42:14 -0700
committerMartin Jansa <Martin.Jansa@gmail.com>2016-11-23 15:24:42 +0100
commitecdf2c30801a7162952f20d96943a14db78d52c8 (patch)
tree8dcba961a12dcf43535d4408d8185879ebbbe40c /meta-oe/recipes-extended/libimobiledevice
parent20d98f67a109b3b9e07c1a8c5042f7320fbc02c2 (diff)
downloadmeta-openembedded-ecdf2c30801a7162952f20d96943a14db78d52c8.tar.gz
libplist: Remove rpaths surgically
Check for files first before operating on it Fixes QA errors like below /usr/lib/python2.7/site-packages/plist/__init__.py /usr/lib/python2.7/site-packages/plist/_plist.so /usr/lib/python2.7/site-packages/plist/plist.py Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. libplist: 3 installed and not shipped files. [installed-vs-shipped] Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/libimobiledevice')
-rw-r--r--meta-oe/recipes-extended/libimobiledevice/libplist_1.8.bb10
1 files changed, 9 insertions, 1 deletions
diff --git a/meta-oe/recipes-extended/libimobiledevice/libplist_1.8.bb b/meta-oe/recipes-extended/libimobiledevice/libplist_1.8.bb
index 10d40fbaf..f78979619 100644
--- a/meta-oe/recipes-extended/libimobiledevice/libplist_1.8.bb
+++ b/meta-oe/recipes-extended/libimobiledevice/libplist_1.8.bb
@@ -16,8 +16,16 @@ SRC_URI = "http://www.libimobiledevice.org/downloads/libplist-${PV}.tar.bz2 \
16SRC_URI[md5sum] = "2a9e0258847d50f9760dc3ece25f4dc6" 16SRC_URI[md5sum] = "2a9e0258847d50f9760dc3ece25f4dc6"
17SRC_URI[sha256sum] = "a418da3880308199b74766deef2a760a9b169b81a868a6a9032f7614e20500ec" 17SRC_URI[sha256sum] = "a418da3880308199b74766deef2a760a9b169b81a868a6a9032f7614e20500ec"
18 18
19PACKAGES =+ "${PN}-utils ${PN}++" 19do_install_append () {
20 if [ -e ${D}${libdir}/python*/site-packages/plist/_plist.so ]; then
21 chrpath -d ${D}${libdir}/python*/site-packages/plist/_plist.so
22 fi
23}
24
25PACKAGES =+ "${PN}-utils ${PN}++ ${PN}-python"
20FILES_${PN} = "${libdir}/libplist${SOLIBS}" 26FILES_${PN} = "${libdir}/libplist${SOLIBS}"
21FILES_${PN}++ = "${libdir}/libplist++${SOLIBS}" 27FILES_${PN}++ = "${libdir}/libplist++${SOLIBS}"
22FILES_${PN}-utils = "${bindir}/*" 28FILES_${PN}-utils = "${bindir}/*"
29FILES_${PN}-python = "${libdir}/python*/site-packages/*"
30
23 31