Home
last modified time | relevance | path

Searched full:join (Results 1 – 25 of 1624) sorted by relevance

12345678910>>...65

/OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/selftest/cases/
H A D_sstatetests_noauto.py18 self.builddir = os.path.join(os.environ.get('BUILDDIR'))
22 bitbake("-g " + ' '.join(map(str, primary_targets)))
23 with open(os.path.join(self.builddir, 'pn-buildlist'), 'r') as pnfile:
30 os.mkdir(os.path.join(builddir, 'conf'))
31 …shutil.copyfile(os.path.join(os.environ.get('BUILDDIR'), 'conf/local.conf'), os.path.join(builddir…
37 ftools.append_file(os.path.join(builddir, 'conf/selftest.inc'), config[key])
38 …shutil.copyfile(os.path.join(os.environ.get('BUILDDIR'), 'conf/bblayers.conf'), os.path.join(build…
40 …shutil.copyfile(os.path.join(os.environ.get('BUILDDIR'), 'conf/auto.conf'), os.path.join(builddir,…
50 os.mkdir(os.path.join(dst, root.split(src)[1][1:]))
52 … os.link(os.path.join(root, sstate_file), os.path.join(dst, root.split(src)[1][1:], sstate_file))
[all …]
H A Dliboe.py25 testloc = oe.path.join(self.tmp_dir, 'liboetests')
26 src = oe.path.join(testloc, 'src')
27 dst = oe.path.join(testloc, 'dst')
33 open(oe.path.join(src, testfilename), 'w+b').close()
37 fileindst = os.path.isfile(oe.path.join(dst, testfilename))
50 testloc = oe.path.join(self.tmp_dir, 'liboetests')
51 src = oe.path.join(testloc, 'src')
52 dst = oe.path.join(testloc, 'dst')
66 open(oe.path.join(src, testfilename), 'w+b').close()
67 …runCmd('%s/setfattr -n user.oetest -v "testing liboe" %s' % (bindir, oe.path.join(src, testfilenam…
[all …]
H A Ddevtool.py24 corecopydir = os.path.join(templayerdir, 'core-copy')
25 bblayers_conf = os.path.join(os.environ['BUILDDIR'], 'conf', 'bblayers.conf')
43 newmetapath = os.path.join(corecopydir, os.path.relpath(oldmetapath, oldreporoot))
55 pth = os.path.join(oldreporoot, relpth)
58 destdir = os.path.join(corecopydir, relpth)
62 destdir = os.path.join(corecopydir, os.path.dirname(relpth))
79 bblayers_conf = os.path.join(os.environ['BUILDDIR'], 'conf', 'bblayers.conf')
88 self.workspacedir = os.path.join(self.builddir, 'workspace')
95 self.assertTrue(os.path.isdir(os.path.join(repo_dir, '.git')),
183 …being bbappended by another layer - bbappends found:\n %s' % (testrecipe, '\n '.join(bbappends)))
[all …]
H A Dreproducible.py105 diffoscope_test_files = os.path.join(os.path.dirname(os.path.abspath(__file__)), "diffoscope")
124 … self.assertTrue(os.path.exists(os.path.join(tmpdir, 'index.html')), "HTML index not found!")
175 reference_path = os.path.join(reference_dir, root, f)
176 test_path = os.path.join(test_dir, root, f)
199 tmpdir = os.path.join(self.topdir, name, 'tmp')
213 ''').format(package_classes=' '.join('package_%s' % c for c in self.package_classes),
220 bitbake(' '.join(self.sstate_targets))
233 bitbake(' '.join(getattr(self, 'images', self.targets)))
277 self.append_to_log('\n'.join("%s: %s" % (r.status, r.test) for r in result.total))
286 … self.copy_file(d.reference, '/'.join([save_dir, 'packages', strip_topdir(d.reference)]))
[all …]
H A Dwic.py78 self.resultdir = os.path.join(self.builddir, "wic-tmp")
103 WicTestCase.wicenv_cache[image] = os.path.join(stdir, machine, 'imgdata')
172 self.assertEqual(1, len(glob(os.path.join (self.resultdir, "wictestdisk-*.direct"))))
179 self.assertEqual(1, len(glob(os.path.join(self.resultdir, "directdisk-*.direct"))))
192 self.assertEqual(1, len(glob(os.path.join(self.resultdir, "HYBRID_ISO_IMG-*.direct"))))
193 self.assertEqual(1, len(glob(os.path.join (self.resultdir, "HYBRID_ISO_IMG-*.iso"))))
200 self.assertEqual(1, len(glob(os.path.join(self.resultdir, "qemux86-directdisk-*direct"))))
207 self.assertEqual(1, len(glob(os.path.join(self.resultdir, "mkefidisk-*direct"))))
218 …self.assertEqual(1, len(glob(os.path.join(self.resultdir, "directdisk-bootloader-config-*direct"))…
229 self.assertEqual(1, len(glob(os.path.join(self.resultdir, "systemd-bootdisk-*direct"))))
[all …]
H A Dsstatetests.py36 srcdir = os.path.join(tempdir, 'noname')
38 …self.assertTrue(os.path.isfile(os.path.join(srcdir, 'configure.ac')), 'Unable to find configure sc…
40 … recipefile = os.path.join(tempdir, "recipes-test", "dbus-wait-test", 'dbus-wait-test_git.bb')
51 with open(os.path.join(srcdir, "bar.txt"), "w") as f:
68 … results = self.search_sstate('|'.join(map(str, targets)), distro_specific, distro_nonspecific)
78 …self.assertTrue(file_tracker , msg="Could not find sstate files for: %s" % ', '.join(map(str, targ…
80 … , msg="Found sstate files in the wrong place for: %s (found %s)" % (', '.join(map(str, targets)),…
101 …archives_created = self.search_sstate('|'.join(map(str, [s + r'.*?\.tar.zst$' for s in targets])),…
102 …_created, msg="Could not find sstate .tar.zst files for: %s (%s)" % (', '.join(map(str, targets)),…
104 …siginfo_created = self.search_sstate('|'.join(map(str, [s + r'.*?\.siginfo$' for s in targets])), …
[all …]
/OK3568_Linux_fs/yocto/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 …]
/OK3568_Linux_fs/yocto/poky/meta/classes/
H A Dtestexport.bbclass89 bb.utils.mkdirhier(os.path.join(export_path, 'lib', 'oeqa'))
95 files_to_copy = [ os.path.join('meta', 'lib', 'oeqa', 'core'),
96 os.path.join('meta', 'lib', 'oeqa', 'runtime'),
97 os.path.join('meta', 'lib', 'oeqa', 'files'),
98 os.path.join('meta', 'lib', 'oeqa', 'utils'),
99 os.path.join('scripts', 'oe-test'),
100 os.path.join('scripts', 'lib', 'argparse_oe.py'),
101 os.path.join('scripts', 'lib', 'scriptutils.py'), ]
104 src = os.path.join(corebase_path, f)
105 dst = os.path.join(export_path, f.split('/', 1)[-1])
[all …]
H A Ddevtool-source.bbclass33 workdir = os.path.join(tempdir, 'workdir')
46 d.setVar('STAMPS_DIR', os.path.join(tempdir, 'stamps'))
47 d.setVar('T', os.path.join(tempdir, 'temp'))
70 sys.path.insert(0, os.path.join(d.getVar('COREBASE'), 'scripts', 'lib'))
89 ret.extend([os.path.relpath(os.path.join(root, fname), directory) for
105 cfg = os.path.join(os.path.dirname(local_files[key]), line[-1])
113 os.path.exists(os.path.join(workdir, fname)) and
115 os.path.join(workdir, fname).startswith(srcabspath +
119 _move_file(os.path.join(workdir, fname),
120 os.path.join(tempdir, 'oe-local-files', fname))
[all …]
H A Dlicense_image.bbclass22 with open(os.path.join(license_image_dir, 'package.manifest'), "w+") as package_manifest:
36 pkg_info = os.path.join(d.getVar('PKGDATA_DIR'),
45 rootfs_license_manifest = os.path.join(d.getVar('LICENSE_DIRECTORY'),
63 …led into the image because it has incompatible license(s): %s" %(pkg, ' '.join(incompatible_licens…
67 …nto the image, because it has been allowed by exception list." %(pkg, ' '.join(incompatible_licens…
95 lic_file = os.path.join(d.getVar('LICENSE_DIRECTORY'),
118 rootfs_license_manifest = os.path.join(rootfs_license_dir,
125 pkg_rootfs_license_dir = os.path.join(rootfs_license_dir, pkg)
127 pkg_license_dir = os.path.join(d.getVar('LICENSE_DIRECTORY'),
135 pkg_license = os.path.join(pkg_license_dir, lic)
[all …]
/OK3568_Linux_fs/yocto/poky/meta/lib/oe/package_manager/deb/
H A D__init__.py12 bb.utils.mkdirhier(os.path.join(self.apt_conf_dir, "lists", "partial"))
13 bb.utils.mkdirhier(os.path.join(self.apt_conf_dir, "apt.conf.d"))
14 bb.utils.mkdirhier(os.path.join(self.apt_conf_dir, "preferences.d"))
16 with open(os.path.join(self.apt_conf_dir, "preferences"),
19 with open(os.path.join(self.apt_conf_dir, "sources.list"),
24 with open(os.path.join(self.d.expand("${STAGING_ETCDIR_NATIVE}"),
32 self.apt_conf_dir = os.path.join(self.d.expand("${APTCONF_TARGET}"),
34 self.apt_conf_file = os.path.join(self.apt_conf_dir, "apt.conf")
58 arch_dir = os.path.join(self.deploy_dir, arch)
66 release_file = os.path.join(arch_dir, "Release")
[all …]
/OK3568_Linux_fs/buildroot/support/testing/tests/core/
H A Dtest_post_scripts.py23 with open(os.path.join(self.builddir, "build", f), newline='') as csvfile:
32 self.assertEqual(lines["BUILD_DIR"], os.path.join(self.builddir, "build"))
33 self.assertEqual(lines["HOST_DIR"], os.path.join(self.builddir, "host"))
34 staging = os.readlink(os.path.join(self.builddir, "staging"))
36 self.assertEqual(lines["BINARIES_DIR"], os.path.join(self.builddir, "images"))
37 self.assertEqual(lines["BR2_CONFIG"], os.path.join(self.builddir, ".config"))
41 os.path.join(self.builddir, "target"),
42 os.path.join(self.builddir, "target"))
44 os.path.join(self.builddir, "build/buildroot-fs/tar/target"),
45 os.path.join(self.builddir, "build/buildroot-fs/tar/target"))
[all …]
/OK3568_Linux_fs/yocto/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 …]
H A Dstandard.py169 recipes = glob.glob(os.path.join(tempdir, '*.bb'))
174 recipedir = os.path.join(config.workspace_path, 'recipes', recipename)
176 recipefile = os.path.join(recipedir, os.path.basename(recipes[0]))
184 srctree = os.path.join(srctreeparent, recipename)
205 shutil.move(os.path.join(tempdir, fn), recipedir)
208 …attic_recipe = os.path.join(config.workspace_path, 'attic', recipename, os.path.basename(recipefil…
217 _add_md5(config, recipename, os.path.join(recipedir, fn))
238 if os.path.exists(os.path.join(srctree, '.git')):
243 srctree = os.path.join(srctree, args.src_subdir)
265 f.write(' lockfile = os.path.join(pkgdir, "singletask.lock")\n')
[all …]
/OK3568_Linux_fs/yocto/poky/meta/lib/oe/package_manager/rpm/
H A D__init__.py28 signer.detach_sign(os.path.join(deploy_dir, 'repodata', 'repomd.xml'),
37 bb.utils.remove(os.path.join(self.deploy_dir, "repodata"), recurse=True)
44 dir_path = oe.path.join(self.deploy_dir, dir)
77 self.rpm_repo_dir = oe.path.join(self.d.getVar('WORKDIR'), rpm_repo_workdir)
78 …create_packages_dir(self.d, oe.path.join(self.rpm_repo_dir, "rpm"), d.getVar("DEPLOY_DIR_RPM"), "p…
100 f.write(":".join(archs))
106 with open(oe.path.join(self.target_rootfs, "etc/dnf/dnf.conf"), 'w') as f:
131 pubkey_path = oe.path.join(self.d.getVar('B'), 'rpm-key')
139 … "returned %d:\n%s" % (' '.join(cmd), e.returncode, e.output.decode("utf-8")))
165 bb.utils.mkdirhier(oe.path.join(self.target_rootfs, "etc", "yum.repos.d"))
[all …]
/OK3568_Linux_fs/yocto/poky/meta/lib/oe/package_manager/ipk/
H A D__init__.py22 if not os.path.exists(os.path.join(self.deploy_dir, "Packages")):
23 open(os.path.join(self.deploy_dir, "Packages"), "w").close()
33 pkgs_dir = os.path.join(self.deploy_dir, arch)
34 pkgs_file = os.path.join(pkgs_dir, "Packages")
144 … "returned %d:\n%s" % (pkg_path, ' '.join(cmd), e.returncode, e.output.decode("utf-8")))
148 … "returned %d:\n%s at %s" % (pkg_path, ' '.join(cmd), e.errno, e.strerror, e.filename))
151 bb.utils.remove(os.path.join(tmp_dir, "debian-binary"))
152 bb.utils.remove(os.path.join(tmp_dir, "control.tar.gz"))
168 self.deploy_dir = oe.path.join(self.d.getVar('WORKDIR'), ipk_repo_workdir)
169 self.deploy_lock_file = os.path.join(self.deploy_dir, "deploy.lock")
[all …]
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/tests/
H A Dfetch.py381 self.dldir = os.path.join(self.tempdir, "download")
384 self.unpackdir = os.path.join(self.tempdir, "unpacked")
386 persistdir = os.path.join(self.tempdir, "persistdata")
649 cwd=os.path.join(self.unpackdir, 'git'))
653 archive = tarfile.open(os.path.join(self.dldir, self.recipe_tarball))
670 self.localsrcdir = os.path.join(self.tempdir, 'localsrc')
672 touch(os.path.join(self.localsrcdir, 'a'))
673 touch(os.path.join(self.localsrcdir, 'b'))
674 os.makedirs(os.path.join(self.localsrcdir, 'dir'))
675 touch(os.path.join(self.localsrcdir, 'dir', 'c'))
[all …]
/OK3568_Linux_fs/kernel/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()
327 struct nvkm_vmm_join *join; in nv50_vmm_part() local
329 list_for_each_entry(join, &vmm->join, head) { in nv50_vmm_part()
330 if (join->inst == inst) { in nv50_vmm_part()
331 list_del(&join->head); in nv50_vmm_part()
332 kfree(join); in nv50_vmm_part()
[all …]
/OK3568_Linux_fs/buildroot/support/testing/tests/package/
H A Dtest_rust.py15 img = os.path.join(self.builddir, "images", "rootfs.cpio")
22 hostdir = os.path.join(self.builddir, 'host')
25 env["PATH"] = "{}:".format(os.path.join(hostdir, 'bin')) + env["PATH"]
26 env["CARGO_HOME"] = os.path.join(hostdir, 'usr', 'share', 'cargo')
27 env["RUST_TARGET_PATH"] = os.path.join(hostdir, 'etc', 'rustc')
28 cargo = os.path.join(hostdir, 'bin', 'cargo')
29 workdir = os.path.join(tempfile.mkdtemp(suffix='-br2-testing-rust'),
31 manifest = os.path.join(workdir, 'Cargo.toml')
32 prog = os.path.join(workdir, 'target', self.target, 'debug', self.crate)
53 shutil.copy(prog, os.path.join(self.builddir, 'target', 'usr', 'bin'))
/OK3568_Linux_fs/yocto/poky/bitbake/lib/toaster/bldcontrol/
H A Dlocalhostbecontroller.py155 … localdirname = os.path.join(self.be.sourcedir, self.getGitCloneDirectory(giturl, commit))
166 …ll not continue out of fear of damaging something." % (localdirname, ", ".join(localremotes.split(…
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,
[all …]
/OK3568_Linux_fs/buildroot/support/testing/tests/toolchain/
H A Dtest_external.py14 fpath = os.path.join(root, f)
24 path = os.path.join(self.builddir, "staging", d)
26 path = os.path.join(self.builddir, "target", d)
29 with open(os.path.join(self.builddir, ".config"), 'r') as configf:
36 interp_path = os.path.join(self.builddir, "target", interp[1:])
60 symlink = os.path.join(self.builddir, "staging", "armv4t")
65 img = os.path.join(self.builddir, "images", "rootfs.cpio")
91 img = os.path.join(self.builddir, "images", "rootfs.cpio")
125 symlink = os.path.join(self.builddir, "staging", "thumb2")
130 img = os.path.join(self.builddir, "images", "rootfs.cpio")
[all …]
/OK3568_Linux_fs/yocto/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 …]
/OK3568_Linux_fs/kernel/drivers/staging/comedi/drivers/ni_routing/tools/
H A Dconvert_csv_to_c.py57 lines = '\n'.join(lines)
114 return '\n'.join(lines)
154 """.format(filename=SET_C, extern_h=os.path.join(ITEMS_DIR, EXTERN_H))
245 sheet_filename = os.path.join(self.ITEMS_DIR,'{}.c'.format(S))
262 with open(os.path.join(self.OUTPUT_DIR, sheet_filename), 'w') as f:
263 f.write('\n'.join(s_chunks))
266 with open(os.path.join(self.OUTPUT_DIR, self.MKFILE_SEGMENTS), 'w') as f:
269 f.write('\n'.join(objs))
272 EXTERN_H = os.path.join(self.ITEMS_DIR, self.EXTERN_H)
273 with open(os.path.join(self.OUTPUT_DIR, EXTERN_H), 'w') as f:
[all …]
/OK3568_Linux_fs/yocto/poky/scripts/lib/wic/plugins/source/
H A Drootfs.py44 full_path = os.path.realpath(os.path.join(rootfs_dir, path))
97 part.has_fstab = os.path.exists(os.path.join(part.rootfs_dir, "etc/fstab"))
98 pseudo_dir = os.path.join(part.rootfs_dir, "../pseudo")
100 pseudo_dir = os.path.join(cls.__get_rootfs_dir(None), '../pseudo')
113 new_rootfs = os.path.realpath(os.path.join(cr_workdir, "rootfs%d" % part.lineno))
116 shutil.rmtree(os.path.join(new_rootfs))
130 os.path.join(cr_workdir, "pseudo%d" % part.lineno))
134 shutil.copy(os.path.join(pseudo_dir, "files.db"),
135 os.path.join(new_pseudo, "files.db"))
161 os.path.join(cr_workdir, "include-path%d.tar" % part.lineno))
[all …]
/OK3568_Linux_fs/yocto/poky/meta/lib/bblayers/
H A Dcreate.py21 with open(os.path.join(os.path.dirname(__file__), template_dir, template)) as fd:
22 lines = ''.join(fd.readlines())
34 conf = os.path.join(layerdir, 'conf')
42 readme = os.path.join(layerdir, 'README')
49 license_src = os.path.join(dn(dn(dn(__file__))), copying)
50 license_dst = os.path.join(layerdir, copying)
59 layerconf = os.path.join(conf, 'layer.conf')
65 example = os.path.join(layerdir, 'recipes-' + args.examplerecipe, args.examplerecipe)
67 with open(os.path.join(example, args.examplerecipe + '_%s.bb') % args.version, 'w') as fd:

12345678910>>...65