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

Commit bc3600c0 authored by Paul Trautrim's avatar Paul Trautrim
Browse files

Use --add_missing in merge_target_files.py

This is needed when including prebuilt images that do not need to be
regenerated. Otherwise the script will exit upon detecting an existing
IMAGES/ directory.

Test: test_merge_target_files
Bug: 139111475
Change-Id: I55d82bd7dc4fa5f27bc01e481362e79fecc200ff
parent ba6135bd
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -781,6 +781,7 @@ def generate_images(target_files_dir, rebuild_recovery):
  # Regenerate IMAGES in the target directory.

  add_img_args = ['--verbose']
  add_img_args.append('--add_missing')
  if rebuild_recovery:
    add_img_args.append('--rebuild_recovery')
  add_img_args.append(target_files_dir)