From 7c8c3a0fc7c7ded2f08d9bdbe1711a99f529851b Mon Sep 17 00:00:00 2001 From: Seung-Woo Kim Date: Mon, 29 Apr 2024 17:58:12 +0900 Subject: [PATCH] tizen: sd_fusing.py: change partition of vf2* for backward compatibility 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 --- scripts/tizen/sd_fusing.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/tizen/sd_fusing.py b/scripts/tizen/sd_fusing.py index 508c1dec48..7de9cae06d 100755 --- a/scripts/tizen/sd_fusing.py +++ b/scripts/tizen/sd_fusing.py @@ -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", -- 2.34.1