diff options
| author | alperak <alperyasinak1@gmail.com> | 2024-04-15 21:19:59 +0300 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-04-21 10:52:39 -0700 |
| commit | 050286a953034e4b3bd607dae641b0aa7ff765c3 (patch) | |
| tree | effb569c1be16224c140d5fa0eeef66798792e7f /meta-oe/recipes-extended/libblockdev | |
| parent | 43fefa0daff2655f0059bf7d6116c32cdbdd0488 (diff) | |
| download | meta-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.bb | 2 |
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 | |||
| 18 | SRCREV = "68aaff5556afe26be749c29a2b7cbd714dce3050" | 18 | SRCREV = "68aaff5556afe26be749c29a2b7cbd714dce3050" |
| 19 | S = "${WORKDIR}/git" | 19 | S = "${WORKDIR}/git" |
| 20 | 20 | ||
| 21 | FILES:${PN} += "${libdir}/python3.*/site-packages" | 21 | FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR}" |
| 22 | 22 | ||
| 23 | PACKAGECONFIG ??= "python3 lvm lvm-dbus dm parted fs escrow btrfs crypto mdraid mpath nvdimm tools" | 23 | PACKAGECONFIG ??= "python3 lvm lvm-dbus dm parted fs escrow btrfs crypto mdraid mpath nvdimm tools" |
| 24 | PACKAGECONFIG[python3] = "--with-python3, --without-python3,,python3" | 24 | PACKAGECONFIG[python3] = "--with-python3, --without-python3,,python3" |
