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:
@@ -62,7 +62,7 @@ def GetArgumentsForImage(partition, group, image=None):
|
|||||||
image_size = sparse_img.GetImagePartitionSize(image) if image else 0
|
image_size = sparse_img.GetImagePartitionSize(image) if image else 0
|
||||||
|
|
||||||
cmd = ["--partition",
|
cmd = ["--partition",
|
||||||
"{}:readonly:{}:{}".format(partition, image_size, group)]
|
"{}:none:{}:{}".format(partition, image_size, group)]
|
||||||
if image:
|
if image:
|
||||||
cmd += ["--image", "{}={}".format(partition, image)]
|
cmd += ["--image", "{}={}".format(partition, image)]
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user