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

Commit b69bcdec authored by Kelvin Zhang's avatar Kelvin Zhang Committed by Gerrit Code Review
Browse files

Merge "Support relative key path in VerifiedBootVersion2VerityImageBuilder"

parents 955ee371 166d819f
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -379,6 +379,11 @@ class VerifiedBootVersion2VerityImageBuilder(VerityImageBuilder):
    self.avbtool = avbtool
    self.algorithm = algorithm
    self.key_path = key_path
    if key_path and not os.path.exists(key_path) and OPTIONS.search_path:
      new_key_path = os.path.join(OPTIONS.search_path, key_path)
      if os.path.exists(new_key_path):
        self.key_path = new_key_path

    self.salt = salt
    self.signing_args = signing_args
    self.image_size = None