releasetools: build_super_image: Do not set readonly attr

* Makes logical partitions writable when flashed to the device

Change-Id: Id473acaedab9400870700bc317a140fd73a58456
Signed-off-by: RITEFANG <1721985272@qq.com>
This commit is contained in:
Yumi Yukimura
2024-01-07 03:15:46 +08:00
committed by SkyMinus
parent 3c32ba6cbf
commit 0dedf75f54

View File

@@ -62,7 +62,7 @@ def GetArgumentsForImage(partition, group, image=None):
image_size = sparse_img.GetImagePartitionSize(image) if image else 0
cmd = ["--partition",
"{}:readonly:{}:{}".format(partition, image_size, group)]
"{}:none:{}:{}".format(partition, image_size, group)]
if image:
cmd += ["--image", "{}={}".format(partition, image)]