From 14bd2f93fc78aa88b8e79308a102f9ad4623e764 Mon Sep 17 00:00:00 2001
From: Andreas Gnau <andreas.gnau@iopsys.eu>
Date: Tue, 22 Jun 2021 12:12:05 +0200
Subject: [PATCH] brcm63xx: system_layout: WE7202242SA: Adapt to R01 layout

Rename overlayA/B to overlay1/2. This is a breaking change for older R0B
boards. New boards (R01) already have overlay1/2 as name for the overlay
volumes.

Older boards need to be migrated to the new layouts manually.

    ubirename /dev/ubi0 overlayA overlay1 overlayB overlay2
---
 .../base-files/etc/system_layout/WE7202242SA.json             | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/iopsys-brcm63xx-arm/base-files/etc/system_layout/WE7202242SA.json b/iopsys-brcm63xx-arm/base-files/etc/system_layout/WE7202242SA.json
index be7be142e..a9e995ba6 100644
--- a/iopsys-brcm63xx-arm/base-files/etc/system_layout/WE7202242SA.json
+++ b/iopsys-brcm63xx-arm/base-files/etc/system_layout/WE7202242SA.json
@@ -4,13 +4,13 @@
       "id": 1,
       "name": "A",
       "rootfs": "ubi:rootfs1",
-      "overlay": "ubi:overlayA"
+      "overlay": "ubi:overlay1"
     },
     {
       "id": 2,
       "name": "B",
       "rootfs": "ubi:rootfs2",
-      "overlay": "ubi:overlayB"
+      "overlay": "ubi:overlay2"
     }
   ],
   "overlay_scope": [
-- 
GitLab