Skip to contentSkip to conversation

ci: ignore distutil warnings

PATCH New Ross Burton 1 participant 1 message Jan 17, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ci: ignore distutil warnings

From: Jon Mason <[email protected]>

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.

---
 ci/check-warnings | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
ci/check-warnings +2 -1
index 89ae955d..721f198b 100755
@@ -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:
Signature · 1 line
2.25.1