Skip to content

Commit daba652

Browse files
committed
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 <[email protected]> Signed-off-by: Trevor Gamblin <[email protected]>
1 parent b879b58 commit daba652

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

meta-python/recipes-extended/python-blivet/python3-blivet_3.4.3.bb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ inherit pypi features_check systemd setuptools3
2323

2424
REQUIRED_DISTRO_FEATURES = "systemd"
2525

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+
2632
RDEPENDS:${PN} += "python3-pykickstart python3-pyudev \
2733
parted python3-pyparted multipath-tools \
2834
lsof cryptsetup libblockdev \

0 commit comments

Comments
 (0)