Skip to content
Snippets Groups Projects
Verified Commit 2e622a50 authored by Andreas Gnau's avatar Andreas Gnau :speech_balloon:
Browse files

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: default avatarAndreas Gnau <andreas.gnau@iopsys.eu>
parent 2944e01e
No related branches found
No related tags found
No related merge requests found
...@@ -16,7 +16,7 @@ __check_image_emmc_gpt_support() { ...@@ -16,7 +16,7 @@ __check_image_emmc_gpt_support() {
local image=$1 local image=$1
local board_name=$2 local board_name=$2
local configuration="$(get_configuration "$image" "$board_name")" || return 1 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." log "ERROR: Can not downgrade to image with missing eMMC GPT support."
return 1 return 1
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment