From 2944e01e12fc6804e0a45846ec48dd807a604168 Mon Sep 17 00:00:00 2001
From: Dariusz Iwanoczko <dariusz.iwanoczko@genexis.eu>
Date: Fri, 21 Mar 2025 12:41:08 +0100
Subject: [PATCH] airoha: an7581: Set eMMC overlay to symlink /tmp/rootfs_data

---
 airoha/an7581/base-files/etc/system_layout/emmc.json | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/airoha/an7581/base-files/etc/system_layout/emmc.json b/airoha/an7581/base-files/etc/system_layout/emmc.json
index 6b19c6188..88a8da578 100644
--- a/airoha/an7581/base-files/etc/system_layout/emmc.json
+++ b/airoha/an7581/base-files/etc/system_layout/emmc.json
@@ -4,13 +4,13 @@
       "id": 1,
       "name": "A",
       "rootfs": "/dev/mmcblk0p65",
-      "overlay": "/dev/mmcblk0p66"
+      "overlay": "/tmp/rootfs_data1"
     },
     {
       "id": 2,
       "name": "B",
       "rootfs": "/dev/mmcblk0p67",
-      "overlay": "/dev/mmcblk0p68"
+      "overlay": "/tmp/rootfs_data2"
     }
   ],
   "overlay_scope": [
-- 
GitLab