From 2e622a50f73323aa465eb2c2f8a8c169a8c3fcb6 Mon Sep 17 00:00:00 2001 From: Andreas Gnau <andreas.gnau@iopsys.eu> Date: Wed, 16 Apr 2025 16:02:53 +0200 Subject: [PATCH] airoha: Get rid of bootloader-emmc print during sysupgrade During image verification before sysupgrade, the line "bootloader-emmc" was printed to the output of platform_check_image. Silence the output of the offending command. Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu> --- airoha/base-files/lib/upgrade/platform.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airoha/base-files/lib/upgrade/platform.sh b/airoha/base-files/lib/upgrade/platform.sh index 0c776c85f..2b0e1f4fc 100644 --- a/airoha/base-files/lib/upgrade/platform.sh +++ b/airoha/base-files/lib/upgrade/platform.sh @@ -16,7 +16,7 @@ __check_image_emmc_gpt_support() { local image=$1 local board_name=$2 local configuration="$(get_configuration "$image" "$board_name")" || return 1 - if [ "$(get_root_device_type)" = emmc ] && ! get_image_component_ref "$image" bootloader-emmc "$configuration" ; then + if [ "$(get_root_device_type)" = emmc ] && ! get_image_component_ref "$image" bootloader-emmc "$configuration" > /dev/null ; then log "ERROR: Can not downgrade to image with missing eMMC GPT support." return 1 fi -- GitLab