| /openbmc/openbmc/poky/bitbake/lib/bb/tests/ |
| H A D | runqueue.py | 57 with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir: 60 tasks = self.run_bitbakecmd(cmd, tempdir, sstatevalid) 64 self.shutdown(tempdir) 67 with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir: 70 tasks = self.run_bitbakecmd(cmd, tempdir, sstatevalid) 76 self.shutdown(tempdir) 79 with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir: 82 tasks = self.run_bitbakecmd(cmd, tempdir, sstatevalid) 87 self.shutdown(tempdir) 90 with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir: [all …]
|
| H A D | parse.py | 353 with tempfile.TemporaryDirectory() as tempdir: 355 recipename = tempdir + "/recipe.bb" 356 os.makedirs(tempdir + "/classes") 357 with open(tempdir + "/classes/someclass.bbclass", "w") as f: 360 with open(tempdir + "/classes/secondclass.bbclass", "w") as f: 367 os.chdir(tempdir) 373 recipename2 = tempdir + "/recipe2.bb" 424 with tempfile.TemporaryDirectory() as tempdir: 425 recipename = tempdir + "/recipe_unclosed.bb" 429 os.chdir(tempdir) [all …]
|
| H A D | fetch.py | 447 self.tempdir = tempfile.mkdtemp(prefix="bitbake-fetch-") 448 self.dldir = os.path.join(self.tempdir, "download") 451 self.unpackdir = os.path.join(self.tempdir, "unpacked") 453 persistdir = os.path.join(self.tempdir, "persistdata") 459 print("Not cleaning up %s. Please remove manually." % self.tempdir) 461 bb.process.run('chmod u+rw -R %s' % self.tempdir) 462 bb.utils.prunedir(self.tempdir) 761 self.localsrcdir = os.path.join(self.tempdir, 'localsrc') 852 src_dir = tempfile.mkdtemp(dir=self.tempdir, 1141 os.chdir(self.tempdir) [all …]
|
| /openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/ |
| H A D | devtool.py | 348 tempdir = tempfile.mkdtemp(prefix='devtoolqa') 349 self.track_for_cleanup(tempdir) 350 result = runCmd('devtool create-workspace %s' % tempdir) 351 …self.assertTrue(os.path.isfile(os.path.join(tempdir, 'conf', 'layer.conf')), msg = "No workspace c… 353 self.assertIn(tempdir, result.output) 360 self.assertNotIn(tempdir, result.output) 367 tempdir = tempfile.mkdtemp(prefix='devtoolqa') 368 self.track_for_cleanup(tempdir) 372 result = runCmd('wget %s' % url, cwd=tempdir) 373 result = runCmd('tar xfv %s' % os.path.basename(url), cwd=tempdir) [all …]
|
| H A D | fetch.py | 62 def write_recipe(self, content, tempdir): argument 63 f = os.path.join(tempdir, "test.bb") 73 …h bb.tinfoil.Tinfoil() as tinfoil, tempfile.TemporaryDirectory(prefix="selftest-fetch") as tempdir: 80 f = self.write_recipe(textwrap.dedent(r), tempdir) 90 f = self.write_recipe(textwrap.dedent(r), tempdir) 99 f = self.write_recipe(textwrap.dedent(r), tempdir) 108 f = self.write_recipe(textwrap.dedent(r), tempdir)
|
| H A D | recipetool.py | 46 self.tempdir = tempfile.mkdtemp(prefix='recipetoolqa') 47 self.track_for_cleanup(self.tempdir) 48 self.testfile = os.path.join(self.tempdir, 'testfile') 318 exttemplayerdir = os.path.join(self.tempdir, 'extlayer') 360 tempsrc = os.path.join(self.tempdir, 'srctree') 362 recipefile = os.path.join(self.tempdir, 'logrotate_3.12.3.bb') 379 tempsrc = os.path.join(self.tempdir, 'srctree') 381 recipefile = os.path.join(self.tempdir, 'libmatchbox.bb') 397 temprecipe = os.path.join(self.tempdir, 'recipe') 418 temprecipe = os.path.join(self.tempdir, 'recipe') [all …]
|
| H A D | gitarchivetests.py | 34 tempdir = tempfile.mkdtemp(prefix='fake_results.') 35 repo = ga.init_git_repo(tempdir, False, False, logger) 38 with open(os.path.join(tempdir, fake_data_file), "w") as fake_data: 46 return tempdir, repo
|
| H A D | sstatetests.py | 219 tempdir = tempfile.mkdtemp(prefix='sstate_autorev') 221 self.track_for_cleanup(tempdir) 223 create_temp_layer(tempdir, 'selftestrecipetool') 224 self.add_command_to_tearDown('bitbake-layers remove-layer %s' % tempdir) 226 runCmd('bitbake-layers add-layer %s' % tempdir) 232 result = runCmd('git clone %s noname' % url, cwd=tempdir) 233 srcdir = os.path.join(tempdir, 'noname') 237 … recipefile = os.path.join(tempdir, "recipes-test", "dbus-wait-test", 'dbus-wait-test_git.bb')
|
| H A D | pkgdata.py | 201 tempdir = tempfile.mkdtemp(prefix='pkgdataqa') 202 self.track_for_cleanup(tempdir) 203 pkglistfile = os.path.join(tempdir, 'pkglist')
|
| /openbmc/openbmc/poky/meta/recipes-devtools/icecc-create-env/icecc-create-env/ |
| H A D | icecc-create-env | 312 tempdir=`mktemp -d /tmp/iceccenvXXXXXX` 315 mkdir -p $tempdir/`dirname $path` 316 cp -pH $path $tempdir/$path 318 if test -f $tempdir/$path -a -x $tempdir/$path; then 319 strip -s $tempdir/$path 2>/dev/null 322 fix_rpath $tempdir/$path `dirname $path` 330 mkdir -p $tempdir/`dirname $link_name` 333 link_rel $target $link_name $tempdir 354 …archive_name=`for i in $target_files; do test -f $tempdir/$i && $md5sum $tempdir/$i; done | sed -e… 372 cd $tempdir [all …]
|
| /openbmc/openbmc/poky/scripts/lib/resulttool/ |
| H A D | store.py | 22 tempdir = tempfile.mkdtemp(prefix='testresults.') 40 dst = f.replace(args.source, tempdir + "/") 72 …subprocess.check_call(["find", tempdir, "-name", "testresults.json", "!", "-path", "./.git/*", "-d… 73 resultutils.save_resultsdata(results, tempdir, ptestlogs=True) 81 tagname = gitarchive.gitarchive(tempdir, args.git_dir, False, False, 89 shutil.copytree(tempdir, logdir) 98 subprocess.check_call(["rm", "-rf", tempdir])
|
| /openbmc/openbmc/poky/bitbake/lib/layerindexlib/tests/ |
| H A D | common.py | 24 self.tempdir = tempfile.mkdtemp() 30 print("Not cleaning up %s. Please remove manually." % self.tempdir) 32 bb.utils.prunedir(self.tempdir)
|
| H A D | restapi.py | 33 … self.layerindex.store_layerindex('file://%s/file.json' % self.tempdir, self.layerindex.indexes[0]) 35 …self.assertTrue(os.path.isfile('%s/file.json' % self.tempdir), msg="Temporary file was not created… 38 reload.load_layerindex('file://%s/file.json' % self.tempdir) 70 self.layerindex.store_layerindex('file://%s' % self.tempdir, self.layerindex.indexes[0]) 73 reload.load_layerindex('file://%s' % self.tempdir)
|
| /openbmc/openbmc/poky/meta/classes/ |
| H A D | devtool-source.bbclass | 31 tempdir = d.getVar('DEVTOOL_TEMPDIR') 33 if not tempdir: 37 workdir = os.path.join(tempdir, 'workdir') 50 d.setVar('STAMPS_DIR', os.path.join(tempdir, 'stamps')) 51 d.setVar('T', os.path.join(tempdir, 'temp')) 77 tempdir = d.getVar('DEVTOOL_TEMPDIR') 89 with open(os.path.join(tempdir, '.gitignore'), 'a+') as f: 113 with open(os.path.join(tempdir, 'initial_rev'), 'w') as f: 116 with open(os.path.join(tempdir, 'srcsubdir'), 'w') as f: 122 tempdir = d.getVar('DEVTOOL_TEMPDIR') [all …]
|
| /openbmc/openbmc/poky/meta/recipes-core/busybox/busybox/ |
| H A D | 0001-testsuite-check-uudecode-before-using-it.patch | 21 @@ -339,7 +339,7 @@ cd .. || exit 1; rm -rf tar.tempdir 2>/d 24 mkdir tar.tempdir && cd tar.tempdir || exit 1
|
| /openbmc/openbmc/meta-openembedded/meta-webserver/recipes-webadmin/webmin/files/ |
| H A D | setup.sh | 105 …openssl req -newkey rsa:512 -x509 -nodes -out $tempdir/cert -keyout $tempdir/key -days 1825 >/dev/… 115 cat $tempdir/cert $tempdir/key >$kfile 117 rm -f $tempdir/cert $tempdir/key
|
| /openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/ |
| H A D | python3-pytest-tempdir_2019.10.12.bb | 2 HOMEPAGE = "https://github.com/saltstack/pytest-tempdir"
|
| /openbmc/openbmc/poky/bitbake/lib/bb/ |
| H A D | build.py | 229 tempdir = d.getVar('T') 241 runfile = os.path.join(tempdir, runfn) 249 runlink = os.path.join(tempdir, 'run.{0}'.format(task)) 520 tempdir = d.getVar('T') 521 fifopath = os.path.join(tempdir, 'fifo.%s' % os.getpid()) 613 tempdir = localdata.getVar('T') 614 if not tempdir: 632 bb.utils.mkdirhier(tempdir) 639 logorder = os.path.join(tempdir, 'log.task_order') 649 loglink = os.path.join(tempdir, 'log.{0}'.format(task)) [all …]
|
| H A D | siggen.py | 752 tempdir = d.getVar('T') 777 sigfile = open(os.path.join(tempdir, sigfile_name), 'w+b') 826 sigfile_link_path = os.path.join(tempdir, sigfile_link)
|
| /openbmc/openbmc/poky/scripts/lib/devtool/ |
| H A D | standard.py | 164 tempdir = tempfile.mkdtemp(prefix='devtool') 167 …path, 'recipetool --color=%s create --devtool -o %s \'%s\' %s' % (color, tempdir, source, extracmd… 174 recipes = glob.glob(os.path.join(tempdir, '*.bb')) 209 for fn in os.listdir(tempdir): 210 shutil.move(os.path.join(tempdir, fn), recipedir) 219 shutil.rmtree(tempdir) 544 tempdir = tempfile.mkdtemp(prefix='devtooltmp-', dir=tempbasedir) 553 appendbackup = os.path.join(tempdir, os.path.basename(appendfile) + '.bak') 563 f.write('DEVTOOL_TEMPDIR = "%s"\n' % tempdir) 621 with open(os.path.join(tempdir, 'initial_rev'), 'r') as f: [all …]
|
| /openbmc/openbmc/poky/bitbake/lib/bblayers/ |
| H A D | action.py | 47 tempdir = tempfile.mkdtemp() 48 backup = tempdir + "/bblayers.conf.bak" 67 shutil.rmtree(tempdir)
|
| /openbmc/openbmc/poky/bitbake/lib/bb/fetch2/ |
| H A D | git.py | 543 tempdir = tempfile.mkdtemp(dir=d.getVar('DL_DIR')) 544 shallowclone = os.path.join(tempdir, 'git') 550 bb.utils.remove(tempdir, recurse=True) 551 os.mkdir(tempdir) 560 bb.utils.remove(tempdir, recurse=True)
|
| /openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/postfix/files/ |
| H A D | 0002-Change-fixed-postconf-to-a-variable-for-cross-compil.patch | 54 : ${tempdir=`pwd`}
|
| /openbmc/openbmc/meta-openembedded/meta-webserver/recipes-webadmin/webmin/ |
| H A D | webmin_2.202.bb | 101 export tempdir=${S}/install_tmp 115 mkdir -p $tempdir
|
| /openbmc/openbmc/poky/meta/lib/oe/ |
| H A D | patch.py | 518 tempdir = tempfile.mkdtemp(prefix='oepatch') 521 … shellcmd = ["git", "format-patch", "--no-signature", "--no-numbered", rev, "-o", tempdir] 560 shutil.rmtree(tempdir)
|