All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sanity: skip make 4.2.1 warning for debian
@ 2022-04-26 19:46 Nicolas Dechesne
  2022-04-26 20:50 ` [OE-core] " Andre McCurdy
  0 siblings, 1 reply; 7+ messages in thread
From: Nicolas Dechesne @ 2022-04-26 19:46 UTC (permalink / raw)
  To: openembedded-core; +Cc: Nicolas Dechesne

This is a follow up patch of:
ad5829aa1f8a (sanity: Show a warning that make 4.2.1 is buggy on non-ubuntu systems)

Debian10 has the exact same version/sources for make as Ubuntu
(focal), e.g. https://packages.debian.org/source/buster/make-dfsg and
https://packages.ubuntu.com/source/focal/make-dfsg.

As per the corresponding changelog, the patch mentioned in
ad5829aa1f8a, is included in both Debian and Ubuntu in make
4.2.1-1.1. So it's safe to use make 4.2.1 in Debian10.

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
---
 meta/classes/sanity.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index c385d92e8b..c72a7b3ed3 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -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" in distro 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
-- 
2.36.0



^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-04-27 16:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-26 19:46 [PATCH] sanity: skip make 4.2.1 warning for debian Nicolas Dechesne
2022-04-26 20:50 ` [OE-core] " Andre McCurdy
2022-04-26 20:56   ` Khem Raj
2022-04-26 21:39     ` Andre McCurdy
2022-04-27 10:40       ` Richard Purdie
2022-04-27 13:22         ` Mike Crowe
2022-04-27 16:54         ` Andre McCurdy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.