You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Android_boot_image_editor/avb/avbtool.diff

15 lines
497 B
Diff

diff --git a/avb/avbtool b/avb/avbtool
index b742466..2830e20 100755
--- a/avb/avbtool
+++ b/avb/avbtool
@@ -2142,7 +2142,8 @@ class Avb(object):
expected_chain_partitions_map[partition_name] = (rollback_index_location, pk_blob)
image_dir = os.path.dirname(image_filename)
- image_ext = os.path.splitext(image_filename)[1]
+ #image_ext = os.path.splitext(image_filename)[1]
+ image_ext = image_filename[image_filename.index('.'):]
key_blob = None
if key_path: