mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 02:31:27 +00:00
libreport: fix Nothing RPROVIDES 'lib32-python3-libreport'
While multilib enabled, if other recipe RDEPENDS python3-libreport,
it failed with:
...
ERROR: Nothing RPROVIDES 'lib32-python3-libreport'
...
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:
@@ -26,7 +26,7 @@ REQUIRED_DISTRO_FEATURES = "systemd"
|
|||||||
|
|
||||||
inherit gettext autotools python3native pkgconfig
|
inherit gettext autotools python3native pkgconfig
|
||||||
|
|
||||||
RDEPENDS_${PN}-python3 += "${PN}"
|
RDEPENDS_python3-libreport += "${PN}"
|
||||||
|
|
||||||
do_patch[prefuncs] += "do_gen_version"
|
do_patch[prefuncs] += "do_gen_version"
|
||||||
do_gen_version() {
|
do_gen_version() {
|
||||||
@@ -34,9 +34,9 @@ do_gen_version() {
|
|||||||
./gen-version
|
./gen-version
|
||||||
}
|
}
|
||||||
|
|
||||||
PACKAGES += "python3-${PN}"
|
PACKAGES += "python3-libreport"
|
||||||
|
|
||||||
FILES_${PN} += "${datadir}/*"
|
FILES_${PN} += "${datadir}/*"
|
||||||
FILES_${PN}-dbg += "${PYTHON_SITEPACKAGES_DIR}/*/.debug"
|
FILES_${PN}-dbg += "${PYTHON_SITEPACKAGES_DIR}/*/.debug"
|
||||||
FILES_python3-${PN} = "${PYTHON_SITEPACKAGES_DIR}/*"
|
FILES_python3-libreport = "${PYTHON_SITEPACKAGES_DIR}/*"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user