Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 62429c8e authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Allow more than one '=' in avb_extra_custom_image_extra_args." am:...

Merge "Allow more than one '=' in avb_extra_custom_image_extra_args." am: 6d412db1 am: 787ee95a am: 93b42b8f am: 5bea09b8

Change-Id: I9935a2d18016135b79094eed0b8a41a172a58049
parents 8e994592 5bea09b8
Loading
Loading
Loading
Loading
+4 −1
Original line number Original line Diff line number Diff line
@@ -1234,7 +1234,10 @@ def main(argv):
      partition, algorithm = a.split("=")
      partition, algorithm = a.split("=")
      OPTIONS.avb_algorithms[partition] = algorithm
      OPTIONS.avb_algorithms[partition] = algorithm
    elif o == "--avb_extra_custom_image_extra_args":
    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
      OPTIONS.avb_extra_args[partition] = extra_args
    else:
    else:
      return False
      return False