Loading tools/releasetools/ota_from_target_files.py +0 −9 Original line number Diff line number Diff line Loading @@ -470,11 +470,6 @@ else if get_stage("%(bcb_dev)s") == "3/3" then if HasVendorPartition(input_zip): system_progress -= 0.1 # Place a copy of file_contexts.bin into the OTA package which will be used # by the recovery program. if "selinux_fc" in OPTIONS.info_dict: WritePolicyConfig(OPTIONS.info_dict["selinux_fc"], output_zip) recovery_mount_options = OPTIONS.info_dict.get("recovery_mount_options") script.ShowProgress(system_progress, 0) Loading Loading @@ -540,10 +535,6 @@ endif; WriteMetadata(metadata, output_zip) def WritePolicyConfig(file_name, output_zip): common.ZipWrite(output_zip, file_name, os.path.basename(file_name)) def WriteMetadata(metadata, output_zip): value = "".join(["%s=%s\n" % kv for kv in sorted(metadata.iteritems())]) common.ZipWriteStr(output_zip, METADATA_NAME, value, Loading Loading
tools/releasetools/ota_from_target_files.py +0 −9 Original line number Diff line number Diff line Loading @@ -470,11 +470,6 @@ else if get_stage("%(bcb_dev)s") == "3/3" then if HasVendorPartition(input_zip): system_progress -= 0.1 # Place a copy of file_contexts.bin into the OTA package which will be used # by the recovery program. if "selinux_fc" in OPTIONS.info_dict: WritePolicyConfig(OPTIONS.info_dict["selinux_fc"], output_zip) recovery_mount_options = OPTIONS.info_dict.get("recovery_mount_options") script.ShowProgress(system_progress, 0) Loading Loading @@ -540,10 +535,6 @@ endif; WriteMetadata(metadata, output_zip) def WritePolicyConfig(file_name, output_zip): common.ZipWrite(output_zip, file_name, os.path.basename(file_name)) def WriteMetadata(metadata, output_zip): value = "".join(["%s=%s\n" % kv for kv in sorted(metadata.iteritems())]) common.ZipWriteStr(output_zip, METADATA_NAME, value, Loading