ci: ignore distutil warnings

Message ID 20220117133830.465261-1-ross.burton@arm.com
State New
Headers show
Series ci: ignore distutil warnings | expand

Commit Message

Ross Burton Jan. 17, 2022, 1:38 p.m. UTC
From: Jon Mason <jon.mason@arm.com>

distutil warnings are causing CI to fail.  This is caused by changes
outside of meta-arm, and are not relevant for anything present in
meta-arm.  Temporarily ignore these until they can be handled upstream.

Signed-off-by: Jon Mason <jon.mason@arm.com>
---
 ci/check-warnings | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch

diff --git a/ci/check-warnings b/ci/check-warnings
index 89ae955d..721f198b 100755
--- a/ci/check-warnings
+++ b/ci/check-warnings
@@ -7,7 +7,8 @@  set -e -u
 
 LOGFILE=$1
 
-LINES=$(grep --invert-match "attempting MIRRORS if available" $LOGFILE | wc -l)
+LINES=$(grep --invert-match -e "attempting MIRRORS if available" -e "distutils-common-base.bbclass is deprecated" -e "distutils3.bbclass is deprecated" $LOGFILE | wc -l)
+
 if test "$LINES" -ne 0; then
     echo ==============================
     echo The build had warnings/errors: