mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
libpwquality: fix Nothing RPROVIDES 'lib32-python3-libpwquality'
While multilib enabled, if other recipe RDEPENDS python3-libpwquality,
it failed with:
...
ERROR: Nothing RPROVIDES 'lib32-python3-libpwquality'
...
Do not use python3-${PN} could fix the issue.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
@@ -15,7 +15,7 @@ SRC_URI[sha256sum] = "1de6ff046cf2172d265a2cb6f8da439d894f3e4e8157b056c515515232
|
||||
S = "${WORKDIR}/${SRCNAME}-${PV}"
|
||||
|
||||
DEPENDS = "cracklib virtual/gettext python3"
|
||||
RDEPENDS_python3-${PN} = "${PN}"
|
||||
RDEPENDS_python3-libpwquality = "${PN}"
|
||||
|
||||
inherit autotools python3native gettext
|
||||
|
||||
@@ -36,7 +36,7 @@ EXTRA_OECONF += "--with-python-rev=${PYTHON_BASEVERSION} \
|
||||
PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}"
|
||||
PACKAGECONFIG[pam] = "--enable-pam, --disable-pam, libpam"
|
||||
|
||||
PACKAGES += "python3-${PN} python3-${PN}-dbg"
|
||||
PACKAGES += "python3-libpwquality python3-libpwquality-dbg"
|
||||
FILES_${PN} += "${libdir}/security/pam_pwquality.so"
|
||||
FILES_${PN}-dbg += "${libdir}/security/.debug"
|
||||
FILES_${PN}-staticdev += "${libdir}/security/pam_pwquality.a"
|
||||
|
||||
Reference in New Issue
Block a user