u-boot: print what system is booting after update
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
This commit is contained in:
parent
13a46ed323
commit
3ab0340741
|
|
@ -10,7 +10,7 @@
|
||||||
# Dual boot update verification
|
# Dual boot update verification
|
||||||
if test "${dualboot}" = "yes"; then
|
if test "${dualboot}" = "yes"; then
|
||||||
if test "${upgrade_available}" = "1"; then
|
if test "${upgrade_available}" = "1"; then
|
||||||
echo "Update detected; Booting new system (try ${bootcount})"
|
echo "Update detected; Booting new system in ${active_system} (try ${bootcount})"
|
||||||
else
|
else
|
||||||
if test "${active_system}" = "linux_a"; then
|
if test "${active_system}" = "linux_a"; then
|
||||||
echo "Booting from system A"
|
echo "Booting from system A"
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
# Dual boot update verification
|
# Dual boot update verification
|
||||||
if test "${dualboot}" = "yes"; then
|
if test "${dualboot}" = "yes"; then
|
||||||
if test "${upgrade_available}" = "1"; then
|
if test "${upgrade_available}" = "1"; then
|
||||||
echo "Update detected; Booting new system (try ${bootcount})"
|
echo "Update detected; Booting new system in ${active_system} (try ${bootcount})"
|
||||||
else
|
else
|
||||||
if test "${active_system}" = "linux_a"; then
|
if test "${active_system}" = "linux_a"; then
|
||||||
echo "Booting from system A"
|
echo "Booting from system A"
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
# Dual boot update verification
|
# Dual boot update verification
|
||||||
if test "${dualboot}" = "yes"; then
|
if test "${dualboot}" = "yes"; then
|
||||||
if test "${upgrade_available}" = "1"; then
|
if test "${upgrade_available}" = "1"; then
|
||||||
echo "Update detected; Booting new system (try ${bootcount})"
|
echo "Update detected; Booting new system in ${active_system} (try ${bootcount})"
|
||||||
else
|
else
|
||||||
if test "${active_system}" = "linux_a"; then
|
if test "${active_system}" = "linux_a"; then
|
||||||
echo "Booting from system A"
|
echo "Booting from system A"
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
# Dual boot update verification
|
# Dual boot update verification
|
||||||
if test "${dualboot}" = "yes"; then
|
if test "${dualboot}" = "yes"; then
|
||||||
if test "${upgrade_available}" = "1"; then
|
if test "${upgrade_available}" = "1"; then
|
||||||
echo "Update detected; Booting new system (try ${bootcount})"
|
echo "Update detected; Booting new system in ${active_system} (try ${bootcount})"
|
||||||
else
|
else
|
||||||
if test "${active_system}" = "linux_a"; then
|
if test "${active_system}" = "linux_a"; then
|
||||||
echo "Booting from system A"
|
echo "Booting from system A"
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
# Dual boot update verification
|
# Dual boot update verification
|
||||||
if test "${dualboot}" = "yes"; then
|
if test "${dualboot}" = "yes"; then
|
||||||
if test "${upgrade_available}" = "1"; then
|
if test "${upgrade_available}" = "1"; then
|
||||||
echo "Update detected; Booting new system (try ${bootcount})"
|
echo "Update detected; Booting new system in ${active_system} (try ${bootcount})"
|
||||||
else
|
else
|
||||||
if test "${active_system}" = "linux_a"; then
|
if test "${active_system}" = "linux_a"; then
|
||||||
echo "Booting from system A"
|
echo "Booting from system A"
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
# Dual boot update verification
|
# Dual boot update verification
|
||||||
if test "${dualboot}" = "yes"; then
|
if test "${dualboot}" = "yes"; then
|
||||||
if test "${upgrade_available}" = "1"; then
|
if test "${upgrade_available}" = "1"; then
|
||||||
echo "Update detected; Booting new system (try ${bootcount})"
|
echo "Update detected; Booting new system in ${active_system} (try ${bootcount})"
|
||||||
else
|
else
|
||||||
if test "${active_system}" = "linux_a"; then
|
if test "${active_system}" = "linux_a"; then
|
||||||
echo "Booting from system A"
|
echo "Booting from system A"
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
# Dual boot update verification
|
# Dual boot update verification
|
||||||
if test "${dualboot}" = "yes"; then
|
if test "${dualboot}" = "yes"; then
|
||||||
if test "${upgrade_available}" = "1"; then
|
if test "${upgrade_available}" = "1"; then
|
||||||
echo "Update detected; Booting new system (try ${bootcount})"
|
echo "Update detected; Booting new system in ${active_system} (try ${bootcount})"
|
||||||
else
|
else
|
||||||
if test "${active_system}" = "linux_a"; then
|
if test "${active_system}" = "linux_a"; then
|
||||||
echo "Booting from system A"
|
echo "Booting from system A"
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
# Dual boot update verification
|
# Dual boot update verification
|
||||||
if test "${dualboot}" = "yes"; then
|
if test "${dualboot}" = "yes"; then
|
||||||
if test "${upgrade_available}" = "1"; then
|
if test "${upgrade_available}" = "1"; then
|
||||||
echo "Update detected; Booting new system (try ${bootcount})"
|
echo "Update detected; Booting new system in ${active_system} (try ${bootcount})"
|
||||||
else
|
else
|
||||||
if test "${active_system}" = "linux_a"; then
|
if test "${active_system}" = "linux_a"; then
|
||||||
echo "Booting from system A"
|
echo "Booting from system A"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue