Skip to contentSkip to conversation

sanity.bbclass: make 4.2.1 on Debian is fine too

PATCH New [email protected] 1 participant 1 message Apr 27, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sanity.bbclass: make 4.2.1 on Debian is fine too

From: Mikko Rapeli <[email protected]>

Allow building on Debian 10 buster where make 4.2.1 is ok.

---
 meta/classes/sanity.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/sanity.bbclass +1 -1
index c385d92e8b..12882bdcb2 100644
@@ -470,7 +470,7 @@ def check_make_version(sanity_data):
 
     if bb.utils.vercmp_string_op(version, "4.2.1", "=="):
         distro = oe.lsb.distro_identifier()
-        if "ubuntu" in distro:
+        if "ubuntu" or "debian" in distro:
             return None
         return "make version 4.2.1 is known to have issues on Centos/OpenSUSE and other non-Ubuntu systems. Please use a buildtools-make-tarball or a newer version of make.\n"
     return None
Signature · 1 line
2.20.1