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

Commit 7af14aa7 authored by Kelvin Zhang's avatar Kelvin Zhang
Browse files

Fix retrofit OTA generation failures

retrofit OTA generation relies on files in OTA/* , include these
files when copying target_files dir to tmp location.

Test: th
Bug: 337043530
Fixes: 337043530
Change-Id: I8fd7729bc1b2d2797f7e76f594b06fd9675fa104
parent 892b51ab
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -1111,7 +1111,6 @@ def CopyTargetFilesDir(input_dir):
      relative_path = path.removeprefix(input_dir).removeprefix("/")
      if not Fnmatch(relative_path, UNZIP_PATTERN):
        continue
      if filename.endswith(".prop") or filename == "prop.default" or "/etc/vintf/" in relative_path:
      target_path = os.path.join(
          output_dir, relative_path)
      os.makedirs(os.path.dirname(target_path), exist_ok=True)