From ebb7ab5706d629c0087d49f48788e4ed9c8eddb2 Mon Sep 17 00:00:00 2001
From: Kenneth Johansson <kenneth.johansson@iopsys.eu>
Date: Thu, 25 Mar 2021 20:02:46 +0100
Subject: [PATCH] migrator script: skip metadata volume.

its not needed we create it in u-boot.

was also a typo (metatada1) that prevented it from working.
---
 .../image/bundled-migrator-script/script.sh               | 8 ++++----
 1 file changed, 4 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 54427c620..857fd1c7e 100755
--- a/iopsys-brcm63xx-arm/image/bundled-migrator-script/script.sh
+++ b/iopsys-brcm63xx-arm/image/bundled-migrator-script/script.sh
@@ -94,10 +94,10 @@ erase_iop5_volumes
 # boofs as they need to be loaded from the TPL.
 # Hence, create all volumes now so that they are
 # not occupied later.
-echo "Extracting metadata"
-size=$(extract_section $img metadata)
-upgrade_ubi_volume metadata $size metatada1 1
-upgrade_ubi_volume metadata $size metadata2 2
+#echo "Extracting metadata"
+#size=$(extract_section $img metadata)
+#upgrade_ubi_volume metadata $size metadata1 1
+#upgrade_ubi_volume metadata $size metadata2 2
 
 echo "Extracting bootfs"
 size=$(extract_section $img bootfs)
-- 
GitLab