diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-02-20 13:09:52 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-02-21 17:48:09 +0000 |
commit | 57aac613a95b2dd67693e385016f2ecd9b832ef3 (patch) | |
tree | 3f2a9d3d5769bf22a947619802156da2ca21e7a5 /meta/recipes-devtools/dnf | |
parent | b64563009023a2db1f182164195e8f0402711d13 (diff) | |
download | poky-57aac613a95b2dd67693e385016f2ecd9b832ef3.tar.gz |
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
(From OE-Core rev: aa56c5dcdea152bee62bb480ccaae177f6c69b9b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/dnf')
-rw-r--r-- | meta/recipes-devtools/dnf/dnf_4.2.2.bb | 2 |
1 files changed, 2 insertions, 0 deletions
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 \ | |||
84 | dnf-automatic-notifyonly.service dnf-automatic-notifyonly.timer \ | 84 | dnf-automatic-notifyonly.service dnf-automatic-notifyonly.timer \ |
85 | " | 85 | " |
86 | SYSTEMD_AUTO_ENABLE ?= "disable" | 86 | SYSTEMD_AUTO_ENABLE ?= "disable" |
87 | |||
88 | 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)}" | ||