Skip to content
Snippets Groups Projects
Commit adb4cdf7 authored by Troy Kisky's avatar Troy Kisky
Browse files

boundary: bootscripts: bootscript-ubuntu: add upgradeu_pending check

parent 22c2d4a4
No related branches found
No related tags found
No related merge requests found
......@@ -64,6 +64,18 @@ if itest.s x${distro_bootpart} == x ; then
distro_bootpart=1
fi
if itest.s "x" != "x${upgradeu_pending}" ; then
echo upgradeu_pending is ${upgradeu_pending}
echo "Trying upgrade.scr"
if load ${devtype} ${devnum}:${distro_bootpart} ${a_script} upgrade.scr ; then
setenv upgradeu_pending
savee
echo "Running upgrade.scr"
reset=1
source ${a_script}
fi
fi
if load ${devtype} ${devnum}:${distro_bootpart} ${a_script} uEnv.txt ; then
env import -t ${a_script} ${filesize}
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment