Loading tools/releasetools/add_img_to_target_files.py +1 −0 Original line number Diff line number Diff line Loading @@ -464,6 +464,7 @@ def AddDtbo(output_zip): dtbo_prebuilt_path = os.path.join( OPTIONS.input_tmp, "PREBUILT_IMAGES", "dtbo.img") assert os.path.exists(dtbo_prebuilt_path) os.makedirs(os.path.dirname(img.name), exist_ok=True) shutil.copy(dtbo_prebuilt_path, img.name) # AVB-sign the image as needed. Loading tools/releasetools/sign_target_files_apks.py +1 −0 Original line number Diff line number Diff line Loading @@ -591,6 +591,7 @@ def RegenerateKernelPartitions(input_tf_zip: zipfile.ZipFile, output_tf_zip: zip else: common.UnzipToDir(input_tf_zip.filename, OPTIONS.input_tmp, files_to_unzip) unzip_dir = OPTIONS.input_tmp os.makedirs(os.path.join(unzip_dir, "IMAGES"), exist_ok=True) boot_image = common.GetBootableImage( "IMAGES/boot.img", "boot.img", unzip_dir, "BOOT", misc_info) Loading Loading
tools/releasetools/add_img_to_target_files.py +1 −0 Original line number Diff line number Diff line Loading @@ -464,6 +464,7 @@ def AddDtbo(output_zip): dtbo_prebuilt_path = os.path.join( OPTIONS.input_tmp, "PREBUILT_IMAGES", "dtbo.img") assert os.path.exists(dtbo_prebuilt_path) os.makedirs(os.path.dirname(img.name), exist_ok=True) shutil.copy(dtbo_prebuilt_path, img.name) # AVB-sign the image as needed. Loading
tools/releasetools/sign_target_files_apks.py +1 −0 Original line number Diff line number Diff line Loading @@ -591,6 +591,7 @@ def RegenerateKernelPartitions(input_tf_zip: zipfile.ZipFile, output_tf_zip: zip else: common.UnzipToDir(input_tf_zip.filename, OPTIONS.input_tmp, files_to_unzip) unzip_dir = OPTIONS.input_tmp os.makedirs(os.path.join(unzip_dir, "IMAGES"), exist_ok=True) boot_image = common.GetBootableImage( "IMAGES/boot.img", "boot.img", unzip_dir, "BOOT", misc_info) Loading