recovery: change the name of the file descriptor to check

Now in the file descriptor we have three different names:
platform, primary and secondary.
Also a link from 'platform' to 'single' to keep backward
compatibility.

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
This commit is contained in:
Francisco Gil 2022-11-17 17:12:44 +01:00
parent 0328295ea8
commit cae4c1f1dc
1 changed files with 2 additions and 2 deletions

View File

@ -596,9 +596,9 @@ done
# Select update package image # Select update package image
if [ "$(is_nand)" = "yes" ]; then if [ "$(is_nand)" = "yes" ]; then
SWUPDATE_IMAGE_SET="mtd,platform" SWUPDATE_IMAGE_SET="mtd,single"
else else
SWUPDATE_IMAGE_SET="mmc,platform" SWUPDATE_IMAGE_SET="mmc,single"
fi fi
# On eMMC, if the 'update' partition is encrypted, we need to mount it manually # On eMMC, if the 'update' partition is encrypted, we need to mount it manually