mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00
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:
parent
b879b58b86
commit
daba6521fa
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue
Block a user