mirror of
git://git.yoctoproject.org/meta-selinux
synced 2026-01-01 13:58:04 +00:00
selinux-python: fix No module named pip
When running the do install task run into No modules named pip. Add python3-pip-native to DEPENDS so that pip it available. PREFIX variable not being set also appears to effect whether pip is found or not. No reason was found as to why that is. Signed-off-by: Vincent Davis Jr <vince@underview.tech> Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
This commit is contained in:
parent
d8a8d39377
commit
db37a0b841
|
|
@ -16,7 +16,7 @@ SRC_URI += "file://0001-sepolicy-fix-install-path-for-new-pymodule-sepolicy.patc
|
|||
|
||||
S = "${UNPACKDIR}/${BP}/python"
|
||||
|
||||
DEPENDS = "libsepol libselinux gettext-native python3-setuptools-scm-native"
|
||||
DEPENDS = "libsepol libselinux gettext-native python3-setuptools-scm-native python3-pip-native"
|
||||
|
||||
RDEPENDS:${PN} = "\
|
||||
python3-core \
|
||||
|
|
@ -111,7 +111,9 @@ FILES:${PN} += "\
|
|||
"
|
||||
|
||||
do_install() {
|
||||
oe_runmake DESTDIR="${D}" \
|
||||
oe_runmake \
|
||||
DESTDIR="${D}" \
|
||||
PREFIX=${prefix} \
|
||||
PYLIBVER='python${PYTHON_BASEVERSION}' \
|
||||
PYTHONLIBDIR='${PYTHON_SITEPACKAGES_DIR}' \
|
||||
install
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user