From d740bbe058fd95f0ef350aa3dd88c4a9390e57ef Mon Sep 17 00:00:00 2001 From: Chris Renshaw Date: Tue, 31 Jan 2023 19:37:39 -0400 Subject: [PATCH] Ignore AMLogic "normal" slot suffix in scripts as well Fixes #6572 --- scripts/util_functions.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/util_functions.sh b/scripts/util_functions.sh index 5fa32a515..c8ef7de5c 100644 --- a/scripts/util_functions.sh +++ b/scripts/util_functions.sh @@ -268,6 +268,7 @@ mount_partitions() { SLOT=`grep_cmdline androidboot.slot` [ -z $SLOT ] || SLOT=_${SLOT} fi + [ "$SLOT" = "normal" ] && unset SLOT [ -z $SLOT ] || ui_print "- Current boot slot: $SLOT" # Mount ro partitions