Lines Matching refs:os
11 import subprocess, os, socket, sys, shutil, tempfile, pty
20 RACKBOOT=os.path.join(TOOLS_PATH, 'rackboot.sh')
21 RACKPOWER=os.path.join(TOOLS_PATH, 'rackpower')
54 menulst_fullpath = os.path.join(self._machine.options.builds[0].build_dir,
81 # os.write(self.masterfd, "\x01\x24")
86 os.unlink("/var/lock/LCK..ttyUSB0")
99 os.close(slavefd)
100 self.console_out = os.fdopen(self.masterfd, 'rb', 0)
133 if os.path.isdir(file):
135 os.chmod(file, os.stat(file).st_mode | extra)
144 menulst_fullpath = os.path.join(self._machine.options.builds[0].build_dir,
147 source_name = os.path.join(self._machine.options.builds[0].build_dir, self._machine.imagename)
148 self.target_name = os.path.join(self.get_tftp_dir(), self._machine.imagename)
158 imagename = os.path.relpath(self.target_name, PANDA_ROOT)
169 os.write(sys.stdout.fileno(), data)