diff mbox series

[yocto-autobuilder-helper,1/2] scripts/yocto-supported-distros: run bitbake-getvar with --quiet

Message ID 20250305-yocto-supported-distros-fixes-v1-1-308df26dd6d9@bootlin.com
State New
Headers show
Series Fixes for yocto-supported-distros | expand

Commit Message

Antonin Godard March 5, 2025, 10:03 a.m. UTC
On older releases the bitbake server output is confusing the script.

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
---
 scripts/yocto-supported-distros | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/scripts/yocto-supported-distros b/scripts/yocto-supported-distros
index e0550ebcc6d437f7d774a982742b89af1ccfab88..533e3d48bddee9c685d4e94add14c66d2406621c 100755
--- a/scripts/yocto-supported-distros
+++ b/scripts/yocto-supported-distros
@@ -129,7 +129,7 @@  def _get_poky_distros() -> Set[str]:
     poky_distros = set()
 
     tested_distros = subprocess.check_output(
-        ["bitbake-getvar", "--value", "SANITY_TESTED_DISTROS"],
+        ["bitbake-getvar", "--quiet", "--value", "SANITY_TESTED_DISTROS"],
         encoding="utf-8")
     tested_distros = tested_distros.replace("\\n", "")
 
@@ -151,7 +151,7 @@  def _get_poky_distros() -> Set[str]:
 
 def _get_metadata_branch() -> str:
     branch = subprocess.check_output(
-        ["bitbake-getvar", "--value", "METADATA_BRANCH"],
+        ["bitbake-getvar", "--quiet", "--value", "METADATA_BRANCH"],
         encoding="utf-8")
     return branch.strip()