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:
parent
9f7a8e64ce
commit
fe9e0d701a
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue