Skip to content

Commit

Permalink
python3-blivet: Adjust install location for binaries and systemd units
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
kraj committed Mar 3, 2022
1 parent b879b58 commit daba652
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit daba652

Please sign in to comment.