forked from openkylin/platform_build
Merge "Allow more than one '=' in avb_extra_custom_image_extra_args." am: 6d412db1b3
am: 787ee95af2
Change-Id: I08b51e5b108019f28c8c9004ddcb931acd11caf0
This commit is contained in:
commit
93b42b8fe3
|
@ -1234,7 +1234,10 @@ def main(argv):
|
|||
partition, algorithm = a.split("=")
|
||||
OPTIONS.avb_algorithms[partition] = algorithm
|
||||
elif o == "--avb_extra_custom_image_extra_args":
|
||||
partition, extra_args = a.split("=")
|
||||
# Setting the maxsplit parameter to one, which will return a list with
|
||||
# two elements. e.g., the second '=' should not be splitted for
|
||||
# 'oem=--signing_helper_with_files=/tmp/avbsigner.sh'.
|
||||
partition, extra_args = a.split("=", 1)
|
||||
OPTIONS.avb_extra_args[partition] = extra_args
|
||||
else:
|
||||
return False
|
||||
|
|
Loading…
Reference in New Issue