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>
This commit is contained in:
Khem Raj 2022-03-02 19:55:02 -08:00
parent b879b58b86
commit daba6521fa

View File

@ -23,6 +23,12 @@ inherit pypi features_check systemd setuptools3
REQUIRED_DISTRO_FEATURES = "systemd"
do_install:append() {
mv ${D}${PYTHON_SITEPACKAGES_DIR}${exec_prefix}/* ${D}${exec_prefix}
mv ${D}${PYTHON_SITEPACKAGES_DIR}${sysconfdir} ${D}
mv ${D}${PYTHON_SITEPACKAGES_DIR}${base_libdir} ${D}
}
RDEPENDS:${PN} += "python3-pykickstart python3-pyudev \
parted python3-pyparted multipath-tools \
lsof cryptsetup libblockdev \