[oe,meta-oe,1/4] liblockdev: Loosen the regexp for py3

Message ID 20191207234529.1222139-1-raj.khem@gmail.com
State Accepted
Commit e53eafc5d9e7cddf67d811ada8d4783cc6a43f2a
Headers show
Series
  • [oe,meta-oe,1/4] liblockdev: Loosen the regexp for py3
Related show

Commit Message

Khem Raj Dec. 7, 2019, 11:45 p.m.
Fixes packaging with py 3.8

ERROR: libblockdev-2.23-r0 do_package: QA Issue: libblockdev: Files/directories were installed but not shipped in any package:
/usr/lib/python3.8
/usr/lib/python3.8/site-packages
/usr/lib/python3.8/site-packages/gi
/usr/lib/python3.8/site-packages/gi/overrides
/usr/lib/python3.8/site-packages/gi/overrides/BlockDev.py

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 meta-oe/recipes-extended/libblockdev/libblockdev_2.23.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.24.0

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Patch

diff --git a/meta-oe/recipes-extended/libblockdev/libblockdev_2.23.bb b/meta-oe/recipes-extended/libblockdev/libblockdev_2.23.bb
index 761619d9af..3f4eec274f 100644
--- a/meta-oe/recipes-extended/libblockdev/libblockdev_2.23.bb
+++ b/meta-oe/recipes-extended/libblockdev/libblockdev_2.23.bb
@@ -17,7 +17,7 @@  SRC_URI = " \
 
 S = "${WORKDIR}/git"
 
-FILES_${PN} += "${libdir}/python2.7/dist-packages ${libdir}/python3.7/site-packages"
+FILES_${PN} += "${libdir}/python2.7/dist-packages ${libdir}/python3.*/site-packages"
 
 PACKAGECONFIG ??= "python3 lvm dm kmod parted fs escrow btrfs crypto mdraid kbd mpath nvdimm"
 PACKAGECONFIG[python3] = "--with-python3, --without-python3,,python3"