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@gmail.com>
This commit is contained in:
Khem Raj
2020-02-11 21:18:06 -08:00
parent 650cbab790
commit 41f5abd221
3 changed files with 8 additions and 1 deletions
@@ -172,7 +172,8 @@ RDEPENDS_packagegroup-meta-oe-gnome ="\
" "
RDEPENDS_packagegroup-meta-oe-graphics ="\ 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 \ fbgrab fbida fontforge fvwm glm gphoto2 libgphoto2 \
gtkperf jasper leptonica libmng libsdl2-image libsdl2-mixer libsdl2-net \ gtkperf jasper leptonica libmng libsdl2-image libsdl2-mixer libsdl2-net \
libsdl-gfx libsdl-image libsdl-mixer libsdl-net libsdl-ttf \ 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)} \ ${@bb.utils.contains("DISTRO_FEATURES", "opengl", "freeglut libsdl2-ttf", "", d)} \
" "
RDEPENDS_packagegroup-meta-oe-kernel ="\ RDEPENDS_packagegroup-meta-oe-kernel ="\
agent-proxy broadcom-bt-firmware cpupower \ agent-proxy broadcom-bt-firmware cpupower \
crash ipmitool minicoredumper oprofile \ crash ipmitool minicoredumper oprofile \
@@ -37,3 +37,4 @@ RDEPENDS_${PN} += " \
" "
BBCLASSEXTEND = "nativesdk" BBCLASSEXTEND = "nativesdk"
PNBLACKLIST[dnf-plugin-tui] ?= "${@bb.utils.contains('PACKAGE_CLASSES', 'package_rpm', '', 'does not build correctly without package_rpm in PACKAGE_CLASSES', d)}"
@@ -28,3 +28,6 @@ EXTRA_OECMAKE = " -DWITH_MAN=OFF -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR}
BBCLASSEXTEND = "nativesdk" BBCLASSEXTEND = "nativesdk"
FILES_${PN} = "${PYTHON_SITEPACKAGES_DIR}/ ${datadir}/ ${bindir}/ ${sysconfdir}/dnfdragora " 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)}"