Home
last modified time | relevance | path

Searched refs:join (Results 1 – 25 of 1322) sorted by relevance

12345678910>>...53

/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A D_sstatetests_noauto.py20 self.builddir = os.path.join(os.environ.get('BUILDDIR'))
24 bitbake("-g " + ' '.join(map(str, primary_targets)))
25 with open(os.path.join(self.builddir, 'pn-buildlist'), 'r') as pnfile:
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…
39 ftools.append_file(os.path.join(builddir, 'conf/selftest.inc'), config[key])
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,…
52 os.mkdir(os.path.join(dst, root.split(src)[1][1:]))
54 … os.link(os.path.join(root, sstate_file), os.path.join(dst, root.split(src)[1][1:], sstate_file))
[all …]
H A Dusergrouptests.py34 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 Dliboe.py27 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()
39 fileindst = os.path.isfile(oe.path.join(dst, testfilename))
52 testloc = oe.path.join(self.tmp_dir, 'liboetests')
53 src = oe.path.join(testloc, 'src')
54 dst = oe.path.join(testloc, 'dst')
68 open(oe.path.join(src, testfilename), 'w+b').close()
69 …runCmd('%s/setfattr -n user.oetest -v "testing liboe" %s' % (bindir, oe.path.join(src, testfilenam…
[all …]
H A Ddevtool.py29 corecopydir = os.path.join(templayerdir, 'core-copy')
30 bblayers_conf = os.path.join(os.environ['BUILDDIR'], 'conf', 'bblayers.conf')
58 newmetapath = os.path.join(corecopydir, os.path.relpath(oldmetapath, oldreporoot))
74 pth = os.path.join(oldreporoot, relpth)
77 destdir = os.path.join(corecopydir, relpth)
81 destdir = os.path.join(corecopydir, os.path.dirname(relpth))
98 bblayers_conf = os.path.join(os.environ['BUILDDIR'], 'conf', 'bblayers.conf')
107 self.workspacedir = os.path.join(self.builddir, 'workspace')
114 self.assertTrue(os.path.isdir(os.path.join(repo_dir, '.git')),
202 …being bbappended by another layer - bbappends found:\n %s' % (testrecipe, '\n '.join(bbappends)))
[all …]
H A Drecipetool.py48 self.testfile = os.path.join(self.tempdir, 'testfile')
72 filesdir = os.path.join(os.path.dirname(bbappendfile), testrecipe)
74 …self.assertTrue(os.path.isfile(os.path.join(filesdir, expectedfile)), 'Expected file %s to be copi…
80 createdfiles.append(os.path.relpath(os.path.join(root, f), filesdir))
133 testfile2 = os.path.join(self.corebase, 'oe-init-build-env')
147 copiedfile = os.path.join(os.path.dirname(bbappendfile), 'coreutils', testfile2name)
172 testfile2 = os.path.join(self.corebase, 'oe-init-build-env')
318 exttemplayerdir = os.path.join(self.tempdir, 'extlayer')
325 createdfiles.append(os.path.relpath(os.path.join(root, f), exttemplayerdir))
360 tempsrc = os.path.join(self.tempdir, 'srctree')
[all …]
H A Darchiver.py38 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'])
181 glob_str = os.path.join(bb_vars['DEPLOY_DIR_SRC'], bb_vars['BUILD_SYS'], '%s-*' % (target))
185 archive_path = os.path.join(glob_result[0], target_file_name)
262 glob_str = os.path.join(bb_vars['DEPLOY_DIR_SRC'], bb_vars['TARGET_SYS'], '%s-*' % (target))
[all …]
H A Dwic.py61 self.resultdir = os.path.join(self.builddir, "wic-tmp")
86 WicTestCase.wicenv_cache[image] = os.path.join(stdir, machine, 'imgdata')
169 out = glob(os.path.join(
201 out = glob(os.path.join(self.resultdir, "%s-*.direct" % wksname))
222 self.assertEqual(1, len(glob(os.path.join (self.resultdir, "wictestdisk-*.direct"))))
229 self.assertEqual(1, len(glob(os.path.join(self.resultdir, "directdisk-*.direct"))))
242 self.assertEqual(1, len(glob(os.path.join(self.resultdir, "HYBRID_ISO_IMG-*.direct"))))
243 self.assertEqual(1, len(glob(os.path.join (self.resultdir, "HYBRID_ISO_IMG-*.iso"))))
250 self.assertEqual(1, len(glob(os.path.join(self.resultdir, "qemux86-directdisk-*direct"))))
257 self.assertEqual(1, len(glob(os.path.join(self.resultdir, "mkefidisk-*direct"))))
[all …]
H A Druntime_test.py47 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')
172 …-batch --homedir %s --import %s' % (self.gpg_home, self.gpg_home, os.path.join(signing_key_dir, 'k…
175 …features += 'PACKAGE_FEED_GPG_PASSPHRASE_FILE = "%s"\n' % os.path.join(signing_key_dir, 'key.passp…
208 signing_key_dir = os.path.join(self.testlayer_path, 'files', 'signing')
209 …-batch --homedir %s --import %s' % (self.gpg_home, self.gpg_home, os.path.join(signing_key_dir, 'k…
212 …features += 'PACKAGE_FEED_GPG_PASSPHRASE_FILE = "%s"\n' % os.path.join(signing_key_dir, 'key.passp…
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/utils/
H A Dtestexport.py47 features_list = "_".join(features_list)
80 arch_rpm_dir = os.path.join(rpm_deploy_dir, arch)
81 extracted_bin_dir = os.path.join(exportpath,"binaries", arch, "extracted_binaries")
82 packaged_bin_dir = os.path.join(exportpath,"binaries", arch, "packaged_binaries")
90 …native_rpm_dir = os.path.join(rpm_deploy_dir, get_dest_folder("{} nativesdk".format(d.getVar("BUIL…
97 …sh.copy(os.path.join(rpm_deploy_dir, native_rpm_dir, item), os.path.join(d.getVar("TEST_EXPORT_DIR…
112 sh.copy(os.path.join(arch_rpm_dir, item), packaged_bin_dir)
118 … destination = os.path.join(extracted_bin_dir,param_list[0], param_list[1])
120 extract_binary(os.path.join(arch_rpm_dir, item), destination)
127 destination = os.path.join(extracted_bin_dir,param_list[0],
[all …]
/openbmc/u-boot/test/py/tests/test_fs/
H A Dtest_basic.py28 assert(re.search('2621440000 *%s' % BIG_FILE, ''.join(output)))
29 assert(re.search('1048576 *%s' % SMALL_FILE, ''.join(output)))
53 assert('filesize=100000' in ''.join(output))
61 assert('filesize=100000' in ''.join(output))
76 assert('filesize=9c400000' in ''.join(output))
89 assert('filesize=100000' in ''.join(output))
95 assert(md5val[0] in ''.join(output))
108 assert('filesize=100000' in ''.join(output))
114 assert(md5val[1] in ''.join(output))
129 assert('filesize=100000' in ''.join(output))
[all …]
H A Dtest_ext.py30 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))
74 assert('Unable to write "/dir1/none/' 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))
[all …]
/openbmc/qemu/docs/
H A Dconf.py48 sys.path.insert(0, os.path.join(qemu_docdir, "sphinx"))
49 sys.path.insert(0, os.path.join(qemu_docdir, "../scripts"))
72 templates_path = [os.path.join(qemu_docdir, '_templates')]
103 with open(os.path.join(qemu_docdir, '../VERSION')) as f:
146 with open(os.path.join(qemu_docdir, 'defs.rst.inc')) as f:
171 html_logo = os.path.join(qemu_docdir, "../ui/icons/qemu_128x128.png")
173 html_favicon = os.path.join(qemu_docdir, "../ui/icons/qemu_32x32.png")
178 html_static_path = [os.path.join(qemu_docdir, "sphinx-static")]
284 kerneldoc_bin = ['perl', os.path.join(qemu_docdir, '../scripts/kernel-doc')]
285 kerneldoc_srctree = os.path.join(qemu_docdir, '..')
[all …]
/openbmc/linux/drivers/comedi/drivers/ni_routing/tools/
H A Dconvert_csv_to_c.py56 lines = '\n'.join(lines)
113 return '\n'.join(lines)
152 """.format(filename=SET_C, extern_h=os.path.join(ITEMS_DIR, EXTERN_H))
241 sheet_filename = os.path.join(self.ITEMS_DIR,'{}.c'.format(S))
258 with open(os.path.join(self.OUTPUT_DIR, sheet_filename), 'w') as f:
259 f.write('\n'.join(s_chunks))
262 with open(os.path.join(self.OUTPUT_DIR, self.MKFILE_SEGMENTS), 'w') as f:
265 f.write('\n'.join(objs))
268 EXTERN_H = os.path.join(self.ITEMS_DIR, self.EXTERN_H)
269 with open(os.path.join(self.OUTPUT_DIR, EXTERN_H), 'w') as f:
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/tests/
H A Dfetch.py417 self.dldir = os.path.join(self.tempdir, "download")
420 self.unpackdir = os.path.join(self.tempdir, "unpacked")
422 persistdir = os.path.join(self.tempdir, "persistdata")
704 cwd=os.path.join(self.unpackdir, 'git'))
708 archive = tarfile.open(os.path.join(self.dldir, self.recipe_tarball))
727 self.localsrcdir = os.path.join(self.tempdir, 'localsrc')
729 touch(os.path.join(self.localsrcdir, 'a'))
730 touch(os.path.join(self.localsrcdir, 'b'))
731 os.makedirs(os.path.join(self.localsrcdir, 'dir'))
732 touch(os.path.join(self.localsrcdir, 'dir', 'c'))
[all …]
/openbmc/openbmc/poky/scripts/lib/devtool/
H A Dsdk.py73 sstate_dir = os.path.join(dest_sdk, 'sstate-cache')
93 curr_chksum = bb.utils.sha256_file(os.path.join(basepath, fpath))
95 …logger.debug('File %s changed: old csum = %s, new = %s' % (os.path.join(basepath, fpath), curr_chk…
108 old_locked_sig_file_path = os.path.join(basepath, 'conf/locked-sigs.inc')
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'))
134 new_locked_sig_file_path = os.path.join(tmpsdk_dir, 'conf', 'locked-sigs.inc')
136 tmpmanifest = os.path.join(tmpsdk_dir, 'conf', 'sdk-conf-manifest')
148 if os.path.exists(os.path.join(basepath, 'layers/.git')):
[all …]
/openbmc/qemu/tests/functional/
H A Dtest_acpi_bits.py67 p = os.path.join(p, tool)
116 'file,path=%s,id=debugcon' %os.path.join(self.base_temp_dir,
129 % ','.join(deps))
169 bits_config_dir = os.path.join(self._baseDir, 'acpi-bits',
171 target_config_dir = os.path.join(self.workdir,
176 self.assertTrue(os.access(os.path.join(bits_config_dir,
178 shutil.copy2(os.path.join(bits_config_dir, config_file),
186 bits_test_dir = os.path.join(self._baseDir, 'acpi-bits',
188 target_test_dir = os.path.join(self.workdir,
196 if os.path.isfile(os.path.join(bits_test_dir, filename)) and \
[all …]
/openbmc/openbmc/poky/meta/lib/bblayers/
H A Dbuildconf.py31 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/meta/lib/oe/package_manager/deb/
H A D__init__.py15 bb.utils.mkdirhier(os.path.join(self.apt_conf_dir, "lists", "partial"))
16 bb.utils.mkdirhier(os.path.join(self.apt_conf_dir, "apt.conf.d"))
17 bb.utils.mkdirhier(os.path.join(self.apt_conf_dir, "preferences.d"))
19 with open(os.path.join(self.apt_conf_dir, "preferences"),
22 with open(os.path.join(self.apt_conf_dir, "sources.list"),
27 with open(os.path.join(self.d.expand("${STAGING_ETCDIR_NATIVE}"),
35 self.apt_conf_dir = os.path.join(self.d.expand("${APTCONF_TARGET}"),
37 self.apt_conf_file = os.path.join(self.apt_conf_dir, "apt.conf")
61 arch_dir = os.path.join(self.deploy_dir, arch)
69 release_file = os.path.join(arch_dir, "Release")
[all …]
/openbmc/openbmc/meta-arm/meta-arm-systemready/classes/
H A Darm-systemready-acs.bbclass32 imgfile = os.path.join(d.getVar('UNPACKDIR'), d.getVar('IMAGE_FILENAME'))
33 deployfile = os.path.join(deploydir, d.getVar('IMAGE_NAME') + suffix)
34 linkfile = os.path.join(deploydir, d.getVar('IMAGE_LINK_NAME') + suffix)
52 report_file = os.path.join(unpackdir, "report.txt")
53 report_file_dest = os.path.join(deploydir, "report.txt")
57 report_file_to_copy = os.path.join(unpackdir, "systemready-ir-template",
62 fname = os.path.join(deploydir, d.getVar('IMAGE_LINK_NAME') + ".manifest")
93 systemready_scripts_dir = os.path.join(d.getVar('STAGING_LIBDIR_NATIVE'),
95 edk2_test_parser_dir = os.path.join(d.getVar('STAGING_LIBDIR_NATIVE'),
97 deployfile = os.path.join(deploy_dir_image, d.getVar('IMAGE_LINK_NAME')
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
H A Dvmmnv50.c147 struct nvkm_vmm_join *join; in nv50_vmm_pgd_pde() local
154 list_for_each_entry(join, &vmm->join, head) { in nv50_vmm_pgd_pde()
155 nvkm_kmap(join->inst); in nv50_vmm_pgd_pde()
156 nvkm_wo64(join->inst, pdeo, data); in nv50_vmm_pgd_pde()
157 nvkm_done(join->inst); in nv50_vmm_pgd_pde()
329 struct nvkm_vmm_join *join; in nv50_vmm_part() local
331 list_for_each_entry(join, &vmm->join, head) { in nv50_vmm_part()
332 if (join->inst == inst) { in nv50_vmm_part()
333 list_del(&join->head); in nv50_vmm_part()
334 kfree(join); in nv50_vmm_part()
[all …]
/openbmc/openbmc/poky/meta/lib/oe/package_manager/rpm/
H A D__init__.py30 signer.detach_sign(os.path.join(deploy_dir, 'repodata', 'repomd.xml'),
39 bb.utils.remove(os.path.join(self.deploy_dir, "repodata"), recurse=True)
46 dir_path = oe.path.join(self.deploy_dir, dir)
79 self.rpm_repo_dir = oe.path.join(self.d.getVar('WORKDIR'), rpm_repo_workdir)
80 …create_packages_dir(self.d, oe.path.join(self.rpm_repo_dir, "rpm"), d.getVar("DEPLOY_DIR_RPM"), "p…
102 f.write(":".join(archs))
108 with open(oe.path.join(self.target_rootfs, "etc/dnf/dnf.conf"), 'w') as f:
133 pubkey_path = oe.path.join(self.d.getVar('B'), 'rpm-key')
141 … "returned %d:\n%s" % (' '.join(cmd), e.returncode, e.output.decode("utf-8")))
167 bb.utils.mkdirhier(oe.path.join(self.target_rootfs, "etc", "yum.repos.d"))
[all …]
/openbmc/openbmc/poky/bitbake/lib/toaster/bldcontrol/
H A Dlocalhostbecontroller.py155 … localdirname = os.path.join(self.be.sourcedir, self.getGitCloneDirectory(giturl, commit))
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 …lone -b \"%s\" \"%s\" \"%s\" " % (bitbake.commit, bitbake.giturl, os.path.join(self.pokydirname, '…
200 localdirpath = os.path.join(localdirname, dirpath)
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,"..")
254 layerpath = os.path.join(self.be.builddir,
259 path = os.path.join(layerpath, name)
[all …]
/openbmc/openbmc/poky/meta/lib/oe/package_manager/ipk/
H A D__init__.py26 if not os.path.exists(os.path.join(self.deploy_dir, "Packages")):
27 open(os.path.join(self.deploy_dir, "Packages"), "w").close()
37 pkgs_dir = os.path.join(self.deploy_dir, arch)
38 pkgs_file = os.path.join(pkgs_dir, "Packages")
102 self.deploy_dir = oe.path.join(self.d.getVar('WORKDIR'), ipk_repo_workdir)
103 self.deploy_lock_file = os.path.join(self.deploy_dir, "deploy.lock")
111 self.opkg_dir = oe.path.join(target_rootfs, self.d.getVar('OPKGLIBDIR'), "opkg")
132 status_file = os.path.join(self.opkg_dir, "status")
182 cfg_file_name = oe.path.join(self.target_rootfs,
200 …cfg_file.write("option info_dir %s\n" % os.path.join(self.d.getVar('OPKGLIBDIR'), 'opkg', 'inf…
[all …]
/openbmc/linux/scripts/
H A Drustdoc_test_gen.rs62 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/oeqa/selftest/
H A Dcase.py34 cls.testinc_path = os.path.join(cls.tc.config_paths['builddir'],
36 cls.testinc_bblayers_path = os.path.join(cls.tc.config_paths['builddir'],
38 cls.machineinc_path = os.path.join(cls.tc.config_paths['builddir'],
56 not in ftools.read_file(os.path.join(cls.builddir, "conf/local.conf")):
57 …cls.logger.info("Adding: \"include selftest.inc\" in %s" % os.path.join(cls.builddir, "conf/local.…
58 ftools.append_file(os.path.join(cls.builddir, "conf/local.conf"), \
62 not in ftools.read_file(os.path.join(cls.builddir, "conf/bblayers.conf")):
64 ftools.append_file(os.path.join(cls.builddir, "conf/bblayers.conf"), \
70 in ftools.read_file(os.path.join(cls.builddir, "conf/local.conf")):
72 ftools.remove_from_file(os.path.join(cls.builddir, "conf/local.conf"), \
[all …]

12345678910>>...53