boot: change linux and recovery partition UUID for single mode

This commit changes the linux and recovery UUID when booting
the system in single mode.

https://onedigi.atlassian.net/browse/DEL-9244

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
This commit is contained in:
Mike Engel 2024-09-23 17:55:43 +02:00
parent 9f7a8e64ce
commit fe9e0d701a
1 changed files with 2 additions and 2 deletions

View File

@ -43,10 +43,10 @@ else
# Get the UUID of the configured boot partition.
part uuid mmc ${mmcbootdev}:${mmcpart} bootpart
# Check the boot source.
if test "${bootpart}" = "${part1_uuid}"; then
if test "${bootpart}" = "${part5_uuid}"; then
# We are booting from the eMMC using 'linux'.
true
elif test "${bootpart}" = "${part2_uuid}"; then
elif test "${bootpart}" = "${part6_uuid}"; then
# We are booting from the eMMC using 'recovery'.
setenv boot_initrd true
setenv initrd_file uramdisk-recovery.img