Ignore AMLogic "normal" slot suffix in scripts as well

Fixes #6572
This commit is contained in:
Chris Renshaw 2023-01-31 19:37:39 -04:00 committed by John Wu
parent 6ecc04a4df
commit d740bbe058

View File

@ -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