From ab57136072d881ec84c25248c0ffa1a6c37bfa12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20H=C3=B6glund?= <jonas.hoglund@embeddednation.com> Date: Thu, 25 Mar 2021 13:47:42 +0100 Subject: [PATCH] Create rootfs2 volume and delay creation of overlay. --- iopsys-brcm63xx-arm/image/bundled-migrator-script/script.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/iopsys-brcm63xx-arm/image/bundled-migrator-script/script.sh b/iopsys-brcm63xx-arm/image/bundled-migrator-script/script.sh index 3183fb30c..54427c620 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 -- GitLab