Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame^] | 1 | From 667b9ede638677fb37911306937ea62f05897581 Mon Sep 17 00:00:00 2001 |
| 2 | From: Alexander Kanavin <alex@linutronix.de> |
| 3 | Date: Mon, 18 Oct 2021 15:55:59 +0200 |
| 4 | Subject: [PATCH] is_debianlike(): always return False |
| 5 | |
| 6 | Otherwise, host contamination happens. |
| 7 | |
| 8 | Upstream-Status: Inappropriate [oe-core specific] |
| 9 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> |
| 10 | --- |
| 11 | mesonbuild/mesonlib/universal.py | 2 +- |
| 12 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 13 | |
| 14 | diff --git a/mesonbuild/mesonlib/universal.py b/mesonbuild/mesonlib/universal.py |
| 15 | index d670d04..47d1b52 100644 |
| 16 | --- a/mesonbuild/mesonlib/universal.py |
| 17 | +++ b/mesonbuild/mesonlib/universal.py |
| 18 | @@ -651,7 +651,7 @@ def is_cygwin() -> bool: |
| 19 | |
| 20 | |
| 21 | def is_debianlike() -> bool: |
| 22 | - return os.path.isfile('/etc/debian_version') |
| 23 | + return False |
| 24 | |
| 25 | |
| 26 | def is_dragonflybsd() -> bool: |