• Home
  • Raw
  • Download

Lines Matching refs:OPTIONS

172 OPTIONS = common.OPTIONS  variable
174 OPTIONS.extra_apks = {}
175 OPTIONS.extra_apex_payload_keys = {}
176 OPTIONS.skip_apks_with_path_prefix = set()
177 OPTIONS.key_map = {}
178 OPTIONS.rebuild_recovery = False
179 OPTIONS.replace_ota_keys = False
180 OPTIONS.replace_verity_public_key = False
181 OPTIONS.replace_verity_private_key = False
182 OPTIONS.replace_verity_keyid = False
183 OPTIONS.remove_avb_public_keys = None
184 OPTIONS.tag_changes = ("-test-keys", "-dev-keys", "+release-keys")
185 OPTIONS.avb_keys = {}
186 OPTIONS.avb_algorithms = {}
187 OPTIONS.avb_extra_args = {}
188 OPTIONS.gki_signing_key = None
189 OPTIONS.gki_signing_algorithm = None
190 OPTIONS.gki_signing_extra_args = None
191 OPTIONS.android_jar_path = None
235 certmap[apk] = OPTIONS.key_map.get(cert, cert)
238 for apk, cert in OPTIONS.extra_apks.items():
241 certmap[apk] = OPTIONS.key_map.get(cert, cert)
265 for apex, key in OPTIONS.extra_apex_payload_keys.items():
278 for apex, key in OPTIONS.extra_apks.items():
293 if apex in OPTIONS.extra_apex_payload_keys:
294 payload_override = OPTIONS.extra_apex_payload_keys[apex]
379 info.filename, compressed_extension, OPTIONS.skip_apks_with_path_prefix)
528 filename, compressed_extension, OPTIONS.skip_apks_with_path_prefix)
579 signing_args=OPTIONS.avb_extra_args.get('apex'))
613 OPTIONS.rebuild_recovery = True
617 elif OPTIONS.replace_ota_keys and filename.endswith("/otacerts.zip"):
625 elif (OPTIONS.replace_verity_public_key and
629 elif (OPTIONS.remove_avb_public_keys and
633 for key_to_remove in OPTIONS.remove_avb_public_keys:
643 elif OPTIONS.replace_verity_keyid and filename == "BOOT/cmdline":
664 signing_key = OPTIONS.avb_keys.get("system_other")
681 if OPTIONS.replace_ota_keys:
685 if OPTIONS.replace_verity_private_key:
686 ReplaceVerityPrivateKey(misc_info, OPTIONS.replace_verity_private_key[1])
688 if OPTIONS.replace_verity_public_key:
691 output_tf_zip, 'ROOT/verity_key', OPTIONS.replace_verity_public_key[1])
698 OPTIONS.replace_verity_public_key[1])
701 if OPTIONS.replace_verity_keyid:
703 OPTIONS.replace_verity_keyid[1])
736 for old, new in OPTIONS.key_map.items():
737 if OPTIONS.verbose:
748 if OPTIONS.verbose or e.errno != errno.ENOENT:
757 if OPTIONS.verbose:
783 for ch in OPTIONS.tag_changes:
864 extra_recovery_keys = [OPTIONS.key_map.get(k, k) + ".x509.pem"
878 mapped_keys.append(OPTIONS.key_map.get(k, k) + ".x509.pem")
886 mapped_devkey = OPTIONS.key_map.get(devkey, devkey)
978 key = OPTIONS.avb_keys.get(partition)
982 algorithm = OPTIONS.avb_algorithms.get(partition)
990 extra_args = OPTIONS.avb_extra_args.get(partition)
1037 key = OPTIONS.gki_signing_key
1041 algorithm = OPTIONS.gki_signing_algorithm
1049 extra_args = OPTIONS.gki_signing_extra_args
1062 OPTIONS.key_map.update({
1071 OPTIONS.key_map[s] = d
1172 container_cert, OPTIONS.public_key_suffix,
1173 container_private_key, OPTIONS.private_key_suffix):
1174 container_key = container_cert[:-len(OPTIONS.public_key_suffix)]
1192 OPTIONS.extra_apks[n] = key
1195 OPTIONS.extra_apex_payload_keys[apex_name] = key
1201 OPTIONS.skip_apks_with_path_prefix.add(a)
1207 OPTIONS.replace_ota_keys = True
1215 OPTIONS.tag_changes = tuple(new)
1217 OPTIONS.replace_verity_public_key = (True, a)
1219 OPTIONS.replace_verity_private_key = (True, a)
1221 OPTIONS.replace_verity_keyid = (True, a)
1223 OPTIONS.remove_avb_public_keys = a.split(",")
1225 OPTIONS.avb_keys['vbmeta'] = a
1227 OPTIONS.avb_algorithms['vbmeta'] = a
1229 OPTIONS.avb_extra_args['vbmeta'] = a
1231 OPTIONS.avb_keys['boot'] = a
1233 OPTIONS.avb_algorithms['boot'] = a
1235 OPTIONS.avb_extra_args['boot'] = a
1237 OPTIONS.avb_keys['dtbo'] = a
1239 OPTIONS.avb_algorithms['dtbo'] = a
1241 OPTIONS.avb_extra_args['dtbo'] = a
1243 OPTIONS.avb_keys['system'] = a
1245 OPTIONS.avb_algorithms['system'] = a
1247 OPTIONS.avb_extra_args['system'] = a
1249 OPTIONS.avb_keys['system_other'] = a
1251 OPTIONS.avb_algorithms['system_other'] = a
1253 OPTIONS.avb_extra_args['system_other'] = a
1255 OPTIONS.avb_keys['vendor'] = a
1257 OPTIONS.avb_algorithms['vendor'] = a
1259 OPTIONS.avb_extra_args['vendor'] = a
1261 OPTIONS.avb_keys['vbmeta_system'] = a
1263 OPTIONS.avb_algorithms['vbmeta_system'] = a
1265 OPTIONS.avb_extra_args['vbmeta_system'] = a
1267 OPTIONS.avb_keys['vbmeta_vendor'] = a
1269 OPTIONS.avb_algorithms['vbmeta_vendor'] = a
1271 OPTIONS.avb_extra_args['vbmeta_vendor'] = a
1273 OPTIONS.avb_extra_args['apex'] = a
1276 OPTIONS.avb_keys[partition] = key
1279 OPTIONS.avb_algorithms[partition] = algorithm
1285 OPTIONS.avb_extra_args[partition] = extra_args
1287 OPTIONS.gki_signing_key = a
1289 OPTIONS.gki_signing_algorithm = a
1291 OPTIONS.gki_signing_extra_args = a
1391 if OPTIONS.rebuild_recovery: