diff options
| author | Khem Raj <raj.khem@gmail.com> | 2022-03-02 19:55:02 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-03-03 08:48:07 -0800 |
| commit | daba6521fa5a8baa1bd53312d025982e201d022a (patch) | |
| tree | 061d5e67b1e9d3bee43c6009cc4fc90fed9b54d0 /meta-python/recipes-extended/python-blivet | |
| parent | b879b58b8647ffe7c452bd875f8e610871ae8334 (diff) | |
| download | meta-openembedded-daba6521fa5a8baa1bd53312d025982e201d022a.tar.gz | |
python3-blivet: Adjust install location for binaries and systemd units
With wheels changes it is also getting installed under PYTHON_SITEPACKAGES_DIR
perhaps something to fix in setup.py but this fix works better from a
packager point of view.
Moves the systemd unit files and daemon into /usr/lib and /usr/libexec
dirs
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Diffstat (limited to 'meta-python/recipes-extended/python-blivet')
| -rw-r--r-- | meta-python/recipes-extended/python-blivet/python3-blivet_3.4.3.bb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-python/recipes-extended/python-blivet/python3-blivet_3.4.3.bb b/meta-python/recipes-extended/python-blivet/python3-blivet_3.4.3.bb index d79fc7d003..85575df7b5 100644 --- a/meta-python/recipes-extended/python-blivet/python3-blivet_3.4.3.bb +++ b/meta-python/recipes-extended/python-blivet/python3-blivet_3.4.3.bb | |||
| @@ -23,6 +23,12 @@ inherit pypi features_check systemd setuptools3 | |||
| 23 | 23 | ||
| 24 | REQUIRED_DISTRO_FEATURES = "systemd" | 24 | REQUIRED_DISTRO_FEATURES = "systemd" |
| 25 | 25 | ||
| 26 | do_install:append() { | ||
| 27 | mv ${D}${PYTHON_SITEPACKAGES_DIR}${exec_prefix}/* ${D}${exec_prefix} | ||
| 28 | mv ${D}${PYTHON_SITEPACKAGES_DIR}${sysconfdir} ${D} | ||
| 29 | mv ${D}${PYTHON_SITEPACKAGES_DIR}${base_libdir} ${D} | ||
| 30 | } | ||
| 31 | |||
| 26 | RDEPENDS:${PN} += "python3-pykickstart python3-pyudev \ | 32 | RDEPENDS:${PN} += "python3-pykickstart python3-pyudev \ |
| 27 | parted python3-pyparted multipath-tools \ | 33 | parted python3-pyparted multipath-tools \ |
| 28 | lsof cryptsetup libblockdev \ | 34 | lsof cryptsetup libblockdev \ |
