Lines Matching refs:exec_cmd
30 from wic.misc import get_bitbake_var, exec_cmd
261 out = exec_cmd("%s -sm %s unit B print" % (self.parted, self.imagepath))
321 return exec_cmd("{} {} -R 'ls -l {}'".format(self.debugfs,
325 return exec_cmd("{} -i {} ::{}".format(self.mdir,
354 exec_cmd(cmd, as_shell=True)
366 out = exec_cmd(cmd , as_shell=True)
380 rmdir_out = exec_cmd("{} {} -wR 'rmdir \"{}\"'".format(self.debugfs,
406 exec_cmd(cmd)
413 exec_cmd(cmd)
445 out = exec_cmd("{} -J {}".format(self.sfdisk, path))
452 exec_cmd(cmd, as_shell=True)
466 for line in exec_cmd("{} -F {}".format(self.sfdisk, target)).splitlines():
521 exec_cmd("{} -pf {}".format(self.e2fsck, partfname))
522 exec_cmd("{} {} {}s".format(\
531 exec_cmd(cmd)
538 exec_cmd(cmd)
541 exec_cmd(cmd, as_shell=True)
546 … out = exec_cmd("{} --probe {}".format(self.blkid, self._get_part_image(pnum)))
551 exec_cmd("{} {} {} {}".format(self.mkswap, label_str, uuid_str, partfname))