Lines Matching refs:os

9 import os
25 install_dir = os.environ.get('TOASTER_DIR')
45 env=os.environ.copy()
71 from os.path import dirname as DN
72 local_checkout_path = DN(DN(DN(DN(DN(os.path.abspath(__file__))))))
90 git_env = os.environ.copy()
155 … localdirname = os.path.join(self.be.sourcedir, self.getGitCloneDirectory(giturl, commit))
159 if os.path.exists(localdirname):
189 … if self.pokydirname is None and os.path.exists(os.path.join(localdirname, "oe-init-build-env")):
194 if not os.path.exists(os.path.join(self.pokydirname, 'bitbake')):
196 …md("git clone -b \"%s\" \"%s\" \"%s\" " % (bitbake.commit, bitbake.giturl, os.path.join(self.pokyd…
200 localdirpath = os.path.join(localdirname, dirpath)
202 if not os.path.exists(localdirpath):
214 if os.path.exists(os.path.join(self.be.sourcedir, "oe-init-build-env")):
220 …if os.path.exists(os.path.join(layer.layer_version.layer.local_source_dir,"..","oe-init-build-env"…
222 … self.pokydirname = os.path.join(layer.layer_version.layer.local_source_dir,"..")
237 if os.path.isdir(custom_layer_path):
254 layerpath = os.path.join(self.be.builddir,
259 path = os.path.join(layerpath, name)
260 if not os.path.isdir(path):
261 os.makedirs(path)
264 config = os.path.join(layerpath, "conf", "layer.conf")
265 if not os.path.isfile(config):
287 br_layer_base_dirpath = os.path.join(
297 recipe_path = os.path.join(layerpath, "recipes", "%s.bb" %
315 return open(os.path.join(self.be.builddir, "toaster_server.log"), "r").read()
322 git_env = os.environ.copy()
337 oe_init = os.path.join(self.pokydirname, 'oe-init-build-env')
349 bblconfpath = os.path.join(builddir, "conf/toaster-bblayers.conf")
355 confpath = os.path.join(builddir, 'conf/toaster.conf')
362 bblconfpath = os.path.join(builddir, "conf/bblayers.conf")
363 bblconfpath_save = os.path.join(builddir, "conf/bblayers.conf.save")
388 bbconfpath = os.path.join(builddir, "conf/local.conf")
389 bbconfpath_save = os.path.join(builddir, "conf/local.conf.save")
435 bitbake = os.path.join(self.pokydirname, 'bitbake', 'bin', 'bitbake')
436 if not os.path.exists(bitbake):
439 for path in os.environ["PATH"].split(os.pathsep):
440 if os.path.exists(os.path.join(path, 'bitbake')):
441 bitbake = os.path.join(path, 'bitbake')
446 toasterlayers = os.path.join(builddir,"conf/toaster-bblayers.conf")
458 bblock = os.path.join(builddir, 'bitbake.lock')
461 if not os.path.exists(bblock):
465 if 10 < os.stat(bblock).st_size:
497 log = os.path.join(builddir, 'toaster_ui.log')
498 local_bitbake = os.path.join(os.path.dirname(os.getenv('BBBASEDIR')),