summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/libblockdev
diff options
context:
space:
mode:
authoralperak <alperyasinak1@gmail.com>2024-04-15 21:19:59 +0300
committerKhem Raj <raj.khem@gmail.com>2024-04-21 10:52:39 -0700
commit050286a953034e4b3bd607dae641b0aa7ff765c3 (patch)
treeeffb569c1be16224c140d5fa0eeef66798792e7f /meta-oe/recipes-extended/libblockdev
parent43fefa0daff2655f0059bf7d6116c32cdbdd0488 (diff)
downloadmeta-openembedded-050286a953034e4b3bd607dae641b0aa7ff765c3.tar.gz
Use PYTHON_SITEPACKAGES_DIR instead of hard-coded site-packages directory path
The following paths have been replaced with PYTHON_SITEPACKAGES_DIR: - "${libdir}/${PYTHON_DIR}/site-packages" - "${libdir}/python${PYTHON_BASEVERSION}/site-packages" - "${libdir}/python*/site-packages" - "${libdir}/python3.*/site-packages" Signed-off-by: alperak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/libblockdev')
-rw-r--r--meta-oe/recipes-extended/libblockdev/libblockdev_3.1.1.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-extended/libblockdev/libblockdev_3.1.1.bb b/meta-oe/recipes-extended/libblockdev/libblockdev_3.1.1.bb
index dd15146285..1ad8036d7b 100644
--- a/meta-oe/recipes-extended/libblockdev/libblockdev_3.1.1.bb
+++ b/meta-oe/recipes-extended/libblockdev/libblockdev_3.1.1.bb
@@ -18,7 +18,7 @@ SRC_URI = "git://github.com/storaged-project/libblockdev;branch=3.1.x-devel;prot
18SRCREV = "68aaff5556afe26be749c29a2b7cbd714dce3050" 18SRCREV = "68aaff5556afe26be749c29a2b7cbd714dce3050"
19S = "${WORKDIR}/git" 19S = "${WORKDIR}/git"
20 20
21FILES:${PN} += "${libdir}/python3.*/site-packages" 21FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR}"
22 22
23PACKAGECONFIG ??= "python3 lvm lvm-dbus dm parted fs escrow btrfs crypto mdraid mpath nvdimm tools" 23PACKAGECONFIG ??= "python3 lvm lvm-dbus dm parted fs escrow btrfs crypto mdraid mpath nvdimm tools"
24PACKAGECONFIG[python3] = "--with-python3, --without-python3,,python3" 24PACKAGECONFIG[python3] = "--with-python3, --without-python3,,python3"