Lines Matching refs:cmd
39 def RunCommand(cmd): argument
47 print "Running: ", " ".join(cmd)
48 p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
54 cmd = "fec -s %d" % partition_size
55 status, output = commands.getstatusoutput(cmd)
62 cmd = "build_verity_tree -s %d"
63 cmd %= partition_size
64 status, output = commands.getstatusoutput(cmd)
71 cmd = "system/extras/verity/build_verity_metadata.py -s %d"
72 cmd %= partition_size
74 status, output = commands.getstatusoutput(cmd)
144 cmd = "fec -e %s %s %s" % (sparse_image_path, verity_path, verity_fec_path)
145 print cmd
146 status, output = commands.getstatusoutput(cmd)
153 cmd = "build_verity_tree -A %s %s %s" % (
155 print cmd
156 status, output = commands.getstatusoutput(cmd)
169 cmd = cmd_template % (image_size, verity_metadata_path, root_hash, salt,
171 print cmd
172 status, output = commands.getstatusoutput(cmd)
187 cmd = "append2simg %s %s"
188 cmd %= (sparse_image_path, unsparse_image_path)
189 print cmd
190 status, output = commands.getstatusoutput(cmd)
197 cmd = 'cat %s >> %s' % (file_to_append, target)
198 print cmd
199 status, output = commands.getstatusoutput(cmd)