diff --git a/iopsys-brcm63xx-arm/image/bundled-migrator-script/script.sh b/iopsys-brcm63xx-arm/image/bundled-migrator-script/script.sh index 3183fb30c295ce251513cb03cbbd91c0922e9645..54427c6205178b733f2704752746469f0ca33cd4 100755 --- a/iopsys-brcm63xx-arm/image/bundled-migrator-script/script.sh +++ b/iopsys-brcm63xx-arm/image/bundled-migrator-script/script.sh @@ -107,17 +107,15 @@ upgrade_ubi_volume bootfs $size bootfs2 5 echo "Extracting rootfs" size=$(extract_section $img rootfs) upgrade_ubi_volume rootfs $size rootfs1 4 +upgrade_ubi_volume rootfs $size rootfs2 6 echo "Saving nvram" size=$(save_nvram) upgrade_ubi_volume nvram $size migrator 10 -echo "Creating overlay partition" -ubimkvol "/dev/ubi0" -n 11 -N overlay1 -t dynamic -s 38092800 - echo "Upgrade completed; rebooting." reboot -# Halt execution of sysupgrade, both when sourced and execuded as a task. +# Halt execution of sysupgrade, both when sourced and executed as a task. return 1 || exit 1