Lines Matching refs:cmd
1006 def AppendAVBSigningArgs(cmd, partition): argument
1016 cmd.extend(["--key", key_path, "--algorithm", algorithm])
1020 cmd.extend(["--salt", avb_salt])
1105 cmd = [avbtool, "make_vbmeta_image", "--output", image_path]
1106 AppendAVBSigningArgs(cmd, name)
1120 cmd.extend(GetAvbPartitionArg(partition, path))
1144 cmd.extend(split_args)
1146 RunAndCheckOutput(cmd)
1159 cmd = ["mkbootfs", "-f", fs_config_file,
1162 cmd = ["mkbootfs", os.path.join(sourcedir, "RAMDISK")]
1163 p1 = Run(cmd, stdout=subprocess.PIPE)
1217 cmd = [mkbootimg, "--kernel", os.path.join(sourcedir, kernel)]
1221 cmd.append("--second")
1222 cmd.append(fn)
1226 cmd.append("--dtb")
1227 cmd.append(fn)
1231 cmd.append("--cmdline")
1232 cmd.append(open(fn).read().rstrip("\n"))
1236 cmd.append("--base")
1237 cmd.append(open(fn).read().rstrip("\n"))
1241 cmd.append("--pagesize")
1242 cmd.append(open(fn).read().rstrip("\n"))
1253 cmd.extend(shlex.split(args))
1257 cmd.extend(shlex.split(args))
1260 cmd.extend(["--ramdisk", ramdisk_img.name])
1265 cmd.extend(["--output", img_unsigned.name])
1267 cmd.extend(["--output", img.name])
1272 cmd.extend(["--recovery_dtbo", fn])
1275 cmd.extend(["--recovery_acpio", fn])
1277 RunAndCheckOutput(cmd)
1287 cmd = [OPTIONS.boot_signer_path]
1288 cmd.extend(OPTIONS.boot_signer_args)
1289 cmd.extend([path, img.name,
1292 RunAndCheckOutput(cmd)
1304 cmd = [info_dict["vboot_signer_cmd"], futility,
1310 RunAndCheckOutput(cmd)
1323 cmd = [avbtool, "add_hash_footer", "--image", img.name,
1326 AppendAVBSigningArgs(cmd, partition_name)
1329 cmd.extend(shlex.split(args))
1330 RunAndCheckOutput(cmd)
1402 cmd = [mkbootimg]
1406 cmd.append("--dtb")
1407 cmd.append(fn)
1411 cmd.append("--vendor_cmdline")
1412 cmd.append(open(fn).read().rstrip("\n"))
1416 cmd.append("--base")
1417 cmd.append(open(fn).read().rstrip("\n"))
1421 cmd.append("--pagesize")
1422 cmd.append(open(fn).read().rstrip("\n"))
1426 cmd.extend(shlex.split(args))
1430 cmd.extend(shlex.split(args))
1432 cmd.extend(["--vendor_ramdisk", ramdisk_img.name])
1433 cmd.extend(["--vendor_boot", img.name])
1435 RunAndCheckOutput(cmd)
1441 cmd = [avbtool, "add_hash_footer", "--image", img.name,
1443 AppendAVBSigningArgs(cmd, "vendor_boot")
1446 cmd.extend(shlex.split(args))
1447 RunAndCheckOutput(cmd)
1498 cmd = ["unzip", "-o", "-q", filename, "-d", dirname]
1509 cmd.extend(filtered)
1511 RunAndCheckOutput(cmd)
1821 cmd = ([OPTIONS.java_path] + OPTIONS.java_args +
1826 cmd.append("-w")
1834 cmd.extend(["--min-sdk-version", str(min_sdk_version)])
1836 cmd.extend([key + OPTIONS.public_key_suffix,
1840 proc = Run(cmd, stdin=subprocess.PIPE)
2335 cmd = ["zip", "-d", zip_filename] + entries
2336 RunAndCheckOutput(cmd)
2517 cmd = copy.copy(diff_program)
2519 cmd = [diff_program]
2520 cmd.append(stemp.name)
2521 cmd.append(ttemp.name)
2522 cmd.append(ptemp.name)
2523 p = Run(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
2978 cmd = ['openssl', 'x509', '-pubkey', '-noout', '-in', cert]
2979 proc = Run(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)