From aa56c5dcdea152bee62bb480ccaae177f6c69b9b Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 20 Feb 2020 13:09:52 -0800 Subject: dnf, libdnf: Ignore if PACKAGE_CLASSES does not have rpm dnf depends on libsolv, and libsolv does not have and easy way to jusr enable rpmdb support, it either has full rpm or nothing, perhaps it could be improved in libsolv and we can use that but from now we have no other option dnf support only rpm backend and wont work with opkg or dpkg/apt anyway Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- meta/recipes-devtools/dnf/dnf_4.2.2.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta/recipes-devtools/dnf') diff --git a/meta/recipes-devtools/dnf/dnf_4.2.2.bb b/meta/recipes-devtools/dnf/dnf_4.2.2.bb index f38167f1ad..f6e616e7f1 100644 --- a/meta/recipes-devtools/dnf/dnf_4.2.2.bb +++ b/meta/recipes-devtools/dnf/dnf_4.2.2.bb @@ -84,3 +84,5 @@ SYSTEMD_SERVICE_${PN} = "dnf-makecache.service dnf-makecache.timer \ dnf-automatic-notifyonly.service dnf-automatic-notifyonly.timer \ " SYSTEMD_AUTO_ENABLE ?= "disable" + +PNBLACKLIST[dnf] ?= "${@bb.utils.contains('PACKAGE_CLASSES', 'package_rpm', '', 'does not build without package_rpm in PACKAGE_CLASSES due disabled rpm support in libsolv', d)}" -- cgit 1.2.3-korg