/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/ |
H A D | _sstatetests_noauto.py | 20 self.builddir = os.path.join(os.environ.get('BUILDDIR')) 24 bitbake("-g " + ' '.join(map(str, primary_targets))) 32 os.mkdir(os.path.join(builddir, 'conf')) 33 …shutil.copyfile(os.path.join(os.environ.get('BUILDDIR'), 'conf/local.conf'), os.path.join(builddir… 40 …shutil.copyfile(os.path.join(os.environ.get('BUILDDIR'), 'conf/bblayers.conf'), os.path.join(build… 42 …shutil.copyfile(os.path.join(os.environ.get('BUILDDIR'), 'conf/auto.conf'), os.path.join(builddir,… 54 … os.link(os.path.join(root, sstate_file), os.path.join(dst, root.split(src)[1][1:], sstate_file)) 57 buildA = os.path.join(self.builddir, 'buildA') 59 buildB = os.path.join(self.builddir, 'buildB') 70 …self.hardlink_tree(os.path.join(buildA, 'sstate-cache'), os.path.join(self.builddir, 'sstate-cache… [all …]
|
H A D | usergrouptests.py | 34 repropassdir = os.path.join(metaselftestpath, "conf/include") 36 etcdir=os.path.join(os.path.join(os.path.join(get_bb_var("TMPDIR"), "work"), \ 37 …os.path.join(get_bb_var("MACHINE").replace("-","_")+"-poky-linux", "core-image-minimal/1.0/rootfs/… 38 … shutil.copy(os.path.join(etcdir, "passwd"), os.path.join(repropassdir, "reproducable-passwd")) 39 shutil.copy(os.path.join(etcdir, "group"), os.path.join(repropassdir, "reproducable-group")) 41 …shutil.copyfile(os.path.join(os.environ.get('BUILDDIR'), 'conf/local.conf'), os.path.join(os.envir… 49 …shutil.copyfile(os.path.join(os.environ.get('BUILDDIR'), 'conf/local.conf.orig'), os.path.join(os.…
|
H A D | liboe.py | 27 testloc = oe.path.join(self.tmp_dir, 'liboetests') 28 src = oe.path.join(testloc, 'src') 29 dst = oe.path.join(testloc, 'dst') 35 open(oe.path.join(src, testfilename), 'w+b').close() 52 testloc = oe.path.join(self.tmp_dir, 'liboetests') 53 src = oe.path.join(testloc, 'src') 54 dst = oe.path.join(testloc, 'dst') 85 testloc = oe.path.join(self.tmp_dir, 'liboetests') 86 src = oe.path.join(testloc, 'src') 87 dst = oe.path.join(testloc, 'dst') [all …]
|
H A D | devtool.py | 29 corecopydir = os.path.join(templayerdir, 'core-copy') 233 filelist.append(' '.join(splitline)) 444 srcdir = os.path.join(tempdir, 'noname') 754 f = os.path.join(path, *paths) 757 f = os.path.join(path, *paths) 2001 dstdir = os.path.join(dstdir, p) 2504 i_and_d_script_path = os.path.join( 2508 del_script_path = os.path.join( 2522 install_deploy_cmd = os.path.join( 2815 cpp_example_src = os.path.join( [all …]
|
H A D | recipetool.py | 48 self.testfile = os.path.join(self.tempdir, 'testfile') 354 tempsrc = os.path.join(self.tempdir, 'srctree') 373 tempsrc = os.path.join(self.tempdir, 'srctree') 391 temprecipe = os.path.join(self.tempdir, 'recipe') 412 temprecipe = os.path.join(self.tempdir, 'recipe') 431 temprecipe = os.path.join(self.tempdir, 'recipe') 458 temprecipe = os.path.join(self.tempdir, 'recipe') 475 temprecipe = os.path.join(self.tempdir, 'recipe') 1001 dstdir = os.path.join(dstdir, p) 1072 … shutil.copy(os.path.join(commonlicdir, licence), os.path.join(srctree, 'LICENSE.' + licence)) [all …]
|
H A D | archiver.py | 38 src_path = os.path.join(bb_vars['DEPLOY_DIR_SRC'], bb_vars['TARGET_SYS']) 69 src_path_target = os.path.join(bb_vars['DEPLOY_DIR_SRC'], bb_vars['TARGET_SYS']) 70 src_path_native = os.path.join(bb_vars['DEPLOY_DIR_SRC'], bb_vars['BUILD_SYS']) 102 bitbake('-c clean %s %s' % (' '.join(target_recipes), ' '.join(native_recipes))) 103 bitbake('-c deploy_archives %s %s' % (' '.join(target_recipes), ' '.join(native_recipes))) 106 src_path_target = os.path.join(bb_vars['DEPLOY_DIR_SRC'], bb_vars['TARGET_SYS']) 107 src_path_native = os.path.join(bb_vars['DEPLOY_DIR_SRC'], bb_vars['BUILD_SYS']) 185 archive_path = os.path.join(glob_result[0], target_file_name) 266 archive_path = os.path.join(glob_result[0], target_file_name) 289 glob_str = os.path.join(bb_vars['DEPLOY_DIR_SRC'], 'mirror', target_file_name) [all …]
|
H A D | wic.py | 60 self.resultdir = os.path.join(self.builddir, "wic-tmp") 168 out = glob(os.path.join( 530 wks_file = os.path.join(include_path, 'temp.wks') 569 wks_file = os.path.join(include_path, 'temp.wks') 664 wks_file = os.path.join(include_path, 'temp.wks') 701 wks_file = os.path.join(include_path, 'temp.wks') 811 wicout = glob(os.path.join(self.resultdir, "*.*")) 832 wicout = os.path.join(self.resultdir, "*.direct") 867 path = os.path.join(imgdatadir, basename) + '.env' 1568 testsubdir = os.path.join(testdir, 'subdir') [all …]
|
H A D | runtime_test.py | 47 test_path = os.path.join(testexport_dir, "oe-test") 48 data_file = os.path.join(testexport_dir, 'data', 'testdata.json') 49 manifest = os.path.join(testexport_dir, 'data', 'manifest') 90 tarball_path = os.path.join(testexport_dir, sdk_dir, tarball_name) 171 signing_key_dir = os.path.join(self.testlayer_path, 'files', 'signing') 208 signing_key_dir = os.path.join(self.testlayer_path, 'files', 'signing') 304 hosttestdir = oe.path.join(rootfs, sysconfdir, "postinst-test") 305 targettestdir = os.path.join(sysconfdir, "postinst-test") 321 self.assertTrue(os.path.isfile(os.path.join(hosttestdir, "rootfs")), 394 hosttestdir = oe.path.join(rootfs, sysconfdir, "postinst-test") [all …]
|
/openbmc/openbmc/poky/meta/lib/oeqa/utils/ |
H A D | testexport.py | 47 features_list = "_".join(features_list) 80 arch_rpm_dir = os.path.join(rpm_deploy_dir, arch) 97 …sh.copy(os.path.join(rpm_deploy_dir, native_rpm_dir, item), os.path.join(d.getVar("TEST_EXPORT_DIR… 135 native_rpm_dir = os.path.join(binaries_path, "native") 167 …extract_binary(os.path.join(packaged_bin_path, item), os.path.join(extracted_bin_path, param_list[… 176 …extract_binary(os.path.join(packaged_bin_path, item), os.path.join(extracted_bin_path, param_list[… 199 … if os.path.isdir(os.path.join(dir, item)) and os.path.join(dir, item) not in dir_list: 200 dir_list.append(os.path.join(dir, item)) 202 … elif os.path.join(dir, item) not in files_list and os.path.isfile(os.path.join(dir, item)): 203 files_list.append(os.path.join(dir, item)) [all …]
|
/openbmc/u-boot/test/py/tests/test_fs/ |
H A D | test_basic.py | 53 assert('filesize=100000' in ''.join(output)) 95 assert(md5val[0] in ''.join(output)) 114 assert(md5val[1] in ''.join(output)) 135 assert(md5val[2] in ''.join(output)) 156 assert(md5val[3] in ''.join(output)) 177 assert(md5val[4] in ''.join(output)) 198 assert(md5val[5] in ''.join(output)) 215 assert('filesize=100000' in ''.join(output)) 239 assert(md5val[0] in ''.join(output)) 279 assert(md5val[0] in ''.join(output)) [all …]
|
H A D | test_ext.py | 30 assert('20480 bytes written' in ''.join(output)) 38 assert(md5val[0] in ''.join(output)) 52 assert('20480 bytes written' in ''.join(output)) 60 assert(md5val[0] in ''.join(output)) 98 assert('filesize=6400' in ''.join(output)) 106 assert(md5val[1] in ''.join(output)) 130 assert('filesize=2800' in ''.join(output)) 138 assert(md5val[2] in ''.join(output)) 162 assert('filesize=0' in ''.join(output)) 186 assert('filesize=a000' in ''.join(output)) [all …]
|
/openbmc/qemu/docs/ |
H A D | conf.py | 49 sys.path.insert(0, os.path.join(qemu_docdir, "sphinx")) 50 sys.path.insert(0, os.path.join(qemu_docdir, "../scripts")) 74 templates_path = [os.path.join(qemu_docdir, '_templates')] 105 with open(os.path.join(qemu_docdir, '../VERSION')) as f: 148 with open(os.path.join(qemu_docdir, 'defs.rst.inc')) as f: 174 html_logo = os.path.join(qemu_docdir, "../ui/icons/qemu_128x128.png") 181 html_static_path = [os.path.join(qemu_docdir, "sphinx-static")] 291 kerneldoc_srctree = os.path.join(qemu_docdir, '..') 292 hxtool_srctree = os.path.join(qemu_docdir, '..') 293 qapidoc_srctree = os.path.join(qemu_docdir, '..') [all …]
|
/openbmc/linux/drivers/comedi/drivers/ni_routing/tools/ |
H A D | convert_csv_to_c.py | 56 lines = '\n'.join(lines) 113 return '\n'.join(lines) 259 f.write('\n'.join(s_chunks)) 265 f.write('\n'.join(objs)) 271 filename=EXTERN_H, externs='\n'.join(externs))) 275 return '\n'.join(chunks) 278 filename=os.path.join(self.OUTPUT_DIR, self.SET_C) 448 f.write('\n'.join(s_chunks)) 454 f.write('\n'.join(objs)) 464 return '\n'.join(chunks) [all …]
|
/openbmc/openbmc/poky/meta/lib/bblayers/ |
H A D | buildconf.py | 31 confdir = os.path.join(os.environ["BBPATH"], "conf") 32 destdir = os.path.join(templatepath, "conf", "templates", templatename) 35 with open(os.path.join(confdir, "local.conf")) as src: 36 with open(os.path.join(destdir, "local.conf.sample"), 'w') as dest: 39 with open(os.path.join(confdir, "bblayers.conf")) as src: 40 with open(os.path.join(destdir, "bblayers.conf.sample"), 'w') as dest: 47 with open(os.path.join(destdir, "conf-summary.txt"), 'w') as dest: 49 with open(os.path.join(destdir, "conf-notes.txt"), 'w') as dest: 57 .format(destdir, os.path.join(destdir, "conf-summary.txt"), os.path.join(destdir, "conf-notes.txt")… 72 … in one of the currently enabled layers:\n{}".format(args.layerpath, "\n".join([l[0] for l in laye… [all …]
|
/openbmc/openbmc/poky/scripts/lib/devtool/ |
H A D | sdk.py | 73 sstate_dir = os.path.join(dest_sdk, 'sstate-cache') 119 layers_dir = os.path.join(basepath, 'layers') 120 conf_dir = os.path.join(basepath, 'conf') 133 os.makedirs(os.path.join(tmpsdk_dir, 'conf')) 148 if os.path.exists(os.path.join(basepath, 'layers/.git')): 193 tmplayers_dir = os.path.join(tmpsdk_dir, 'layers') 198 destfile = os.path.join(basepath, changedfile) 201 os.remove(os.path.join(conf_dir, 'sdk-conf-manifest')) 205 …shutil.move(os.path.join(tmpsdk_dir, 'downloads', 'uninative'), os.path.join(basepath, 'downloads'… 208 with open(os.path.join(conf_dir, 'site.conf'), 'a') as f: [all …]
|
/openbmc/qemu/tests/avocado/ |
H A D | acpi-bits.py | 66 p = os.path.join(p, tool) 128 % ','.join(deps)) 173 target_config_dir = os.path.join(self._workDir, 178 self.assertTrue(os.access(os.path.join(bits_config_dir, 190 target_test_dir = os.path.join(self._workDir, 250 bits_dir = os.path.join(self._workDir, 252 iso_file = os.path.join(self._workDir, 254 mkrescue_script = os.path.join(self._workDir, 298 prebuiltDir = os.path.join(self._workDir, 'prebuilt') 305 grub_tar_file = os.path.join(prebuiltDir, [all …]
|
/openbmc/openbmc/poky/meta/lib/oe/package_manager/deb/ |
H A D | __init__.py | 18 with open(os.path.join(self.apt_conf_dir, "preferences"), 21 with open(os.path.join(self.apt_conf_dir, "sources.list"), 60 arch_dir = os.path.join(self.deploy_dir, arch) 68 release_file = os.path.join(arch_dir, "Release") 172 bb.utils.remove(os.path.join(tmp_dir, "debian-binary")) 321 bb.utils.rename(os.path.join(root, dir), 322 os.path.join(root, new_dir)) 327 bb.utils.rename(os.path.join(root, file), 328 os.path.join(root, new_file)) 371 sources_conf = os.path.join("%s/etc/apt/sources.list" [all …]
|
/openbmc/openbmc/meta-arm/meta-arm-systemready/classes/ |
H A D | arm-systemready-acs.bbclass | 52 report_file = os.path.join(workdir, "report.txt") 53 report_file_dest = os.path.join(deploydir, "report.txt") 105 report_file = os.path.join(deploy_dir_image, "report.txt") 106 report_file_dest = os.path.join(testimage_dir, "report.txt") 120 top_logdir = os.path.join(get_json_result_dir(d), d.getVar("PN")) 122 top_link = os.path.join(top_logdir, log_name) 132 parser_path = os.path.join(edk2_test_parser_dir, "parser.py") 135 os.path.join(logdir, "result.md")], check=True) 137 scripts_path = os.path.join(systemready_scripts_dir, 139 summary_path = os.path.join(testimage_dir, "summary.md") [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
H A D | vmmnv50.c | 154 list_for_each_entry(join, &vmm->join, head) { in nv50_vmm_pgd_pde() 155 nvkm_kmap(join->inst); in nv50_vmm_pgd_pde() 157 nvkm_done(join->inst); in nv50_vmm_pgd_pde() 331 list_for_each_entry(join, &vmm->join, head) { in nv50_vmm_part() 334 kfree(join); in nv50_vmm_part() 349 if (!(join = kmalloc(sizeof(*join), GFP_KERNEL))) in nv50_vmm_join() 351 join->inst = inst; in nv50_vmm_join() 352 list_add_tail(&join->head, &vmm->join); in nv50_vmm_join() 354 nvkm_kmap(join->inst); in nv50_vmm_join() 362 nvkm_done(join->inst); in nv50_vmm_join() [all …]
|
/openbmc/linux/scripts/ |
H A D | rustdoc_test_gen.rs | 62 let joined_potential_components = potential_components.join("_") + ".rs"; in find_real_path() 64 .join("rust/kernel") in find_real_path() 65 .join(prefix) in find_real_path() 66 .join(&joined_potential_components) in find_real_path() 72 .join(prefix) in find_real_path() 73 .join(joined_potential_components), in find_real_path() 81 let prefix = prefix.join(components_prefix.join("_")); in find_real_path() 82 if srctree.join("rust/kernel").join(&prefix).is_dir() { in find_real_path()
|
/openbmc/openbmc/poky/meta/lib/oe/package_manager/rpm/ |
H A D | __init__.py | 46 dir_path = oe.path.join(self.deploy_dir, dir) 102 f.write(":".join(archs)) 133 pubkey_path = oe.path.join(self.d.getVar('B'), 'rpm-key') 233 bb.note("Running %s" % ' '.join([cmd] + args + pkgs)) 251 bb.utils.remove(oe.path.join(self.target_rootfs, dir), True) 258 source_dir = oe.path.join(self.target_rootfs, i) 259 target_dir = oe.path.join(self.saved_packaging_data, i) 269 target_dir = oe.path.join(self.target_rootfs, i) 272 source_dir = oe.path.join(self.saved_packaging_data, i) 325 bb.note('Running %s' % ' '.join(cmd)) [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/tests/ |
H A D | fetch.py | 696 cwd=os.path.join(self.unpackdir, 'git')) 721 touch(os.path.join(self.localsrcdir, 'a')) 722 touch(os.path.join(self.localsrcdir, 'b')) 1694 self.gitdir = os.path.join(self.tempdir, 'git') 1735 open(os.path.join(cwd, path), 'w').close() 2266 self.gitdir = os.path.join(self.tempdir, 'git') 2611 unpackdir = os.path.join(self.unpackdir, 'npm') 2740 unpackdir = os.path.join(self.unpackdir, 'npm') 2809 datadir = os.path.join(self.tempdir, 'data') 2815 self.sdir = os.path.join(self.unpackdir, 'S') [all …]
|
/openbmc/bmcweb/scripts/ |
H A D | update_schemas.py | 40 os.path.join(SCRIPT_DIR, "..", "static", "redfish", "v1") 45 os.path.join(SCRIPT_DIR, "..", "redfish-core", "include") 49 schema_path = os.path.join( 52 json_schema_path = os.path.join( 90 os.path.join(schema_path, f) 98 os.path.join(json_schema_path, f) 139 with open(os.path.join(schema_path, csdl_file), "wb") as schema_out: 140 content = zip_ref.read(os.path.join("csdl", csdl_file)) 145 zip_filepath = os.path.join("json-schema", version[0]) 150 with open(os.path.join(cpp_path, "schemas.hpp"), "w") as hpp_file: [all …]
|
/openbmc/openbmc/poky/meta/lib/oe/package_manager/ipk/ |
H A D | __init__.py | 36 pkgs_dir = os.path.join(self.deploy_dir, arch) 37 pkgs_file = os.path.join(pkgs_dir, "Packages") 154 bb.utils.remove(os.path.join(tmp_dir, "debian-binary")) 155 bb.utils.remove(os.path.join(tmp_dir, "control.tar.gz")) 201 status_file = os.path.join(self.opkg_dir, "status") 284 pkgs_dir = os.path.join(self.deploy_dir, arch) 357 cmd += " ".join(pkgs) 389 (self.opkg_cmd, self.opkg_args, ' '.join(pkgs)) 392 (self.opkg_cmd, self.opkg_args, ' '.join(pkgs)) 452 ' '.join(pkgs)) [all …]
|
/openbmc/openbmc/poky/bitbake/lib/toaster/bldcontrol/ |
H A D | localhostbecontroller.py | 200 localdirpath = os.path.join(localdirname, dirpath) 254 layerpath = os.path.join(self.be.builddir, 259 path = os.path.join(layerpath, name) 264 config = os.path.join(layerpath, "conf", "layer.conf") 287 br_layer_base_dirpath = os.path.join( 297 recipe_path = os.path.join(layerpath, "recipes", "%s.bb" % 355 confpath = os.path.join(builddir, 'conf/toaster.conf') 440 if os.path.exists(os.path.join(path, 'bitbake')): 441 bitbake = os.path.join(path, 'bitbake') 458 bblock = os.path.join(builddir, 'bitbake.lock') [all …]
|