<div dir="ltr"><div>I would still prefer to just split rpm packaging into binaries and libraries, and avoid the need to blacklist and tweak recipes based on what PACKAGE_CLASSES is set to altogether. That setting should not leak into recipes, and should only matter from do_package onwards. Can you look into the rpm recipe please?<br></div><div><br></div><div>Alex<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 12 Feb 2020 at 20:19, Khem Raj <<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">dnf does not work with opkg or dpkg/apt anyway<br>
<br>
Signed-off-by: Khem Raj <<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>><br>
---<br>
v2: Use PNBLACKLIST instead of anon python<br>
<br>
meta/recipes-devtools/dnf/<a href="http://dnf_4.2.2.bb" rel="noreferrer" target="_blank">dnf_4.2.2.bb</a> | 2 ++<br>
meta/recipes-devtools/libdnf/<a href="http://libdnf_0.28.1.bb" rel="noreferrer" target="_blank">libdnf_0.28.1.bb</a> | 1 +<br>
2 files changed, 3 insertions(+)<br>
<br>
diff --git a/meta/recipes-devtools/dnf/<a href="http://dnf_4.2.2.bb" rel="noreferrer" target="_blank">dnf_4.2.2.bb</a> b/meta/recipes-devtools/dnf/<a href="http://dnf_4.2.2.bb" rel="noreferrer" target="_blank">dnf_4.2.2.bb</a><br>
index f38167f1ad..220f1aabbd 100644<br>
--- a/meta/recipes-devtools/dnf/<a href="http://dnf_4.2.2.bb" rel="noreferrer" target="_blank">dnf_4.2.2.bb</a><br>
+++ b/meta/recipes-devtools/dnf/<a href="http://dnf_4.2.2.bb" rel="noreferrer" target="_blank">dnf_4.2.2.bb</a><br>
@@ -84,3 +84,5 @@ SYSTEMD_SERVICE_${PN} = "dnf-makecache.service dnf-makecache.timer \<br>
dnf-automatic-notifyonly.service dnf-automatic-notifyonly.timer \<br>
"<br>
SYSTEMD_AUTO_ENABLE ?= "disable"<br>
+<br>
+PNBLACKLIST[dnf] ?= "${@bb.utils.contains('PACKAGE_CLASSES', 'package_rpm', '', 'does not build correctly without package_rpm in PACKAGE_CLASSES', d)}"<br>
diff --git a/meta/recipes-devtools/libdnf/<a href="http://libdnf_0.28.1.bb" rel="noreferrer" target="_blank">libdnf_0.28.1.bb</a> b/meta/recipes-devtools/libdnf/<a href="http://libdnf_0.28.1.bb" rel="noreferrer" target="_blank">libdnf_0.28.1.bb</a><br>
index 882c435b32..49afa04812 100644<br>
--- a/meta/recipes-devtools/libdnf/<a href="http://libdnf_0.28.1.bb" rel="noreferrer" target="_blank">libdnf_0.28.1.bb</a><br>
+++ b/meta/recipes-devtools/libdnf/<a href="http://libdnf_0.28.1.bb" rel="noreferrer" target="_blank">libdnf_0.28.1.bb</a><br>
@@ -26,4 +26,5 @@ EXTRA_OECMAKE_append_class-native = " -DWITH_GIR=OFF"<br>
EXTRA_OECMAKE_append_class-nativesdk = " -DWITH_GIR=OFF"<br>
<br>
BBCLASSEXTEND = "native nativesdk"<br>
+PNBLACKLIST[libdnf] ?= "${@bb.utils.contains('PACKAGE_CLASSES', 'package_rpm', '', 'does not build correctly without package_rpm in PACKAGE_CLASSES', d)}"<br>
<br>
-- <br>
2.25.0<br>
<br>
-- <br>
_______________________________________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank">Openembedded-core@lists.openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
</blockquote></div>