Lines Matching refs:cmd
37 def RunCommand(cmd): argument
45 print "Running: ", " ".join(cmd)
46 p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
52 cmd = "build_verity_tree -s %d"
53 cmd %= partition_size
54 status, output = commands.getstatusoutput(cmd)
61 cmd = "system/extras/verity/build_verity_metadata.py -s %d"
62 cmd %= partition_size
64 status, output = commands.getstatusoutput(cmd)
88 cmd = "build_verity_tree -A %s %s %s" % (
90 print cmd
91 status, output = commands.getstatusoutput(cmd)
104 cmd = cmd_template % (image_size, verity_metadata_path, root_hash, salt,
106 print cmd
107 status, output = commands.getstatusoutput(cmd)
122 cmd = "append2simg %s %s"
123 cmd %= (sparse_image_path, unsparse_image_path)
124 print cmd
125 status, output = commands.getstatusoutput(cmd)