tizen: sd_fusing.py: change partition of vf2* for backward compatibility 53/310453/1
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 29 Apr 2024 08:58:12 +0000 (17:58 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 29 Apr 2024 08:58:18 +0000 (17:58 +0900)
Before A/B partition support, there was the empty 4th part and
user flashing partition map in initrd-flash has partition number
with the empty partition. For backward compatibility, add the 4th
partition again.

Change-Id: Ic9417218ee3bd2d20cf8c82869d0e856a8600024
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
scripts/tizen/sd_fusing.py

index 508c1de..7de9cae 100755 (executable)
@@ -464,6 +464,7 @@ class VF2(InitParams, SdFusingTargetAB):
         {"size": 128,  "fstype": "vfat", "name": "boot_a",
          "ptype": "C12A7328-F81F-11D2-BA4B-00A0C93EC93B",
          "binaries": "boot.img"},
+        {"size": 36,   "fstype": "raw",  "name": "none"},
         {"size": 3072, "fstype": "ext4", "name": "rootfs_a",
          "binaries": "rootfs.img"},
         {"size": 1344, "fstype": "ext4", "name": "system-data",
@@ -523,6 +524,7 @@ class VF2Super(InitParams, SdFusingTargetAB):
         {"size": 128,  "fstype": "vfat", "name": "boot_a",
          "ptype": "C12A7328-F81F-11D2-BA4B-00A0C93EC93B",
          "binaries": "boot.img"},
+        {"size": 36,   "fstype": "raw",  "name": "none"},
         {"size": 6656, "fstype": "ext4", "name": "super",
          "binaries": "super.img"},
         {"size": 1344, "fstype": "ext4", "name": "system-data",