[oe-commits] [meta-openembedded] 02/11: meta-oe: Remove dnf dependent package for non-rpm package backend
git at git.openembedded.org
git at git.openembedded.org
Thu Feb 13 22:08:03 UTC 2020
This is an automated email from the git hooks/post-receive script.
khem pushed a commit to branch master-next
in repository meta-openembedded.
commit 41f5abd221807e663754daef3fdf1852ea4ec8c1
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Tue Feb 11 21:18:06 2020 -0800
meta-oe: Remove dnf dependent package for non-rpm package backend
dnf is not built when rpm is not in chosen backends
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb | 5 ++++-
meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb | 1 +
meta-oe/recipes-graphics/dnfdragora/dnfdragora_git.bb | 3 +++
3 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
index 929e7d5..777623b 100644
--- a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
+++ b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
@@ -172,7 +172,8 @@ RDEPENDS_packagegroup-meta-oe-gnome ="\
"
RDEPENDS_packagegroup-meta-oe-graphics ="\
- cairomm dietsplash directfb directfb-examples dnfdragora \
+ cairomm dietsplash directfb directfb-examples \
+ ${@bb.utils.contains("PACKAGE_CLASSES", "package_rpm", "dnfdragora dnf-plugin-tui", "", d)} \
fbgrab fbida fontforge fvwm glm gphoto2 libgphoto2 \
gtkperf jasper leptonica libmng libsdl2-image libsdl2-mixer libsdl2-net \
libsdl-gfx libsdl-image libsdl-mixer libsdl-net libsdl-ttf \
@@ -190,6 +191,8 @@ RDEPENDS_packagegroup-meta-oe-graphics ="\
${@bb.utils.contains("DISTRO_FEATURES", "opengl", "freeglut libsdl2-ttf", "", d)} \
"
+
+
RDEPENDS_packagegroup-meta-oe-kernel ="\
agent-proxy broadcom-bt-firmware cpupower \
crash ipmitool minicoredumper oprofile \
diff --git a/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb b/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb
index a8367b5..5ecf649 100644
--- a/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb
+++ b/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb
@@ -37,3 +37,4 @@ RDEPENDS_${PN} += " \
"
BBCLASSEXTEND = "nativesdk"
+PNBLACKLIST[dnf-plugin-tui] ?= "${@bb.utils.contains('PACKAGE_CLASSES', 'package_rpm', '', 'does not build correctly without package_rpm in PACKAGE_CLASSES', d)}"
diff --git a/meta-oe/recipes-graphics/dnfdragora/dnfdragora_git.bb b/meta-oe/recipes-graphics/dnfdragora/dnfdragora_git.bb
index 9cd1efb..3f2dc30 100644
--- a/meta-oe/recipes-graphics/dnfdragora/dnfdragora_git.bb
+++ b/meta-oe/recipes-graphics/dnfdragora/dnfdragora_git.bb
@@ -28,3 +28,6 @@ EXTRA_OECMAKE = " -DWITH_MAN=OFF -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR}
BBCLASSEXTEND = "nativesdk"
FILES_${PN} = "${PYTHON_SITEPACKAGES_DIR}/ ${datadir}/ ${bindir}/ ${sysconfdir}/dnfdragora "
+
+PNBLACKLIST[dnfdragora] ?= "${@bb.utils.contains('PACKAGE_CLASSES', 'package_rpm', '', 'does not build correctly without package_rpm in PACKAGE_CLASSES', d)}"
+
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list