/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))) 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 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() 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 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 | devtool.py | 29 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 …]
|
/openbmc/openbmc/meta-arm/meta-arm-systemready/classes/ |
H A D | arm-systemready-acs.bbclass | 32 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/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) 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/openbmc/poky/meta/classes-recipe/ |
H A D | testexport.bbclass | 91 bb.utils.mkdirhier(os.path.join(export_path, 'lib', 'oeqa')) 97 files_to_copy = [ os.path.join('meta', 'lib', 'oeqa', 'core'), 98 os.path.join('meta', 'lib', 'oeqa', 'runtime'), 99 os.path.join('meta', 'lib', 'oeqa', 'files'), 100 os.path.join('meta', 'lib', 'oeqa', 'utils'), 101 os.path.join('scripts', 'oe-test'), 102 os.path.join('scripts', 'lib', 'argparse_oe.py'), 103 os.path.join('scripts', 'lib', 'scriptutils.py'), ] 106 src = os.path.join(corebase_path, f) 107 dst = os.path.join(export_path, f.split('/', 1)[-1]) [all …]
|
H A D | license_image.bbclass | 28 with open(os.path.join(license_image_dir, 'package.manifest'), "w+") as package_manifest: 42 pkg_info = os.path.join(d.getVar('PKGDATA_DIR'), 51 rootfs_license_manifest = os.path.join(d.getVar('LICENSE_DIRECTORY'), 71 …led into the image because it has incompatible license(s): %s" %(pkg, ' '.join(incompatible_licens… 75 …nto the image, because it has been allowed by exception list." %(pkg, ' '.join(incompatible_licens… 104 lic_file = os.path.join(d.getVar('LICENSE_DIRECTORY'), 130 rootfs_license_manifest = os.path.join(rootfs_license_dir, 137 pkg_rootfs_license_dir = os.path.join(rootfs_license_dir, pkg) 140 pkg_license_dir = os.path.join(d.getVar('LICENSE_DIRECTORY'), 152 pkg_license = os.path.join(pkg_license_dir, lic) [all …]
|
/openbmc/openbmc/poky/meta/lib/oe/package_manager/deb/ |
H A D | __init__.py | 15 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/poky/scripts/lib/devtool/ |
H A D | sdk.py | 73 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 D | standard.py | 174 recipes = glob.glob(os.path.join(tempdir, '*.bb')) 179 recipedir = os.path.join(config.workspace_path, 'recipes', recipename) 181 recipefile = os.path.join(recipedir, os.path.basename(recipes[0])) 189 srctree = os.path.join(srctreeparent, recipename) 210 shutil.move(os.path.join(tempdir, fn), recipedir) 213 …attic_recipe = os.path.join(config.workspace_path, 'attic', recipename, os.path.basename(recipefil… 222 _add_md5(config, recipename, os.path.join(recipedir, fn)) 243 if os.path.exists(os.path.join(srctree, '.git')): 252 srctree = os.path.join(srctree, args.src_subdir) 275 f.write(' lockfile = os.path.join(pkgdir, "singletask.lock")\n') [all …]
|
/openbmc/u-boot/test/py/tests/test_fs/ |
H A D | test_basic.py | 28 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 …]
|
/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 …]
|
H A D | create.py | 24 with open(os.path.join(os.path.dirname(__file__), template_dir, template)) as fd: 25 lines = ''.join(fd.readlines()) 37 conf = os.path.join(layerdir, 'conf') 45 readme = os.path.join(layerdir, 'README') 52 license_src = os.path.join(dn(dn(dn(__file__))), copying) 53 license_dst = os.path.join(layerdir, copying) 62 layerconf = os.path.join(conf, 'layer.conf') 68 example = os.path.join(layerdir, 'recipes-' + args.examplerecipe, args.examplerecipe) 70 with open(os.path.join(example, args.examplerecipe + '_%s.bb') % args.version, 'w') as fd:
|
/openbmc/openbmc/poky/meta/classes/ |
H A D | devtool-source.bbclass | 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')) 73 sys.path.insert(0, os.path.join(d.getVar('COREBASE'), 'scripts', 'lib')) 86 os.path.exists(os.path.join(unpackdir, fname)) and 89 with open(os.path.join(tempdir, '.gitignore'), 'a+') as f: 97 srcsubdir = os.path.join(workdir, os.path.relpath(srcsubdir, workdir).split(os.sep)[0]) 113 with open(os.path.join(tempdir, 'initial_rev'), 'w') as f: 116 with open(os.path.join(tempdir, 'srcsubdir'), 'w') as f: 123 with open(os.path.join(tempdir, 'srcsubdir'), 'r') as f: [all …]
|
H A D | go-vendor.bbclass | 46 linkname = os.path.join(source_dir, *['src', go_import, 'vendor']) 66 linkname = os.path.join(source_dir, *['src', go_import, 'vendor']) 67 vendor_dir = os.path.join(source_dir, *['src', 'import', 'vendor']) 68 import_dir = os.path.join(source_dir, *['src', 'import', 'vendor.fetch']) 108 "repo_path": os.path.join(import_dir, p), 125 src = os.path.join(rootdir, subdir) 133 tmp = os.path.join(src, pathMajor) 138 dst = os.path.join(vendor_dir, module_path) 151 rootdirLicese = os.path.join(rootdir, "LICENSE") 152 subdirLicense = os.path.join(src, "LICENSE") [all …]
|
/openbmc/qemu/tests/functional/ |
H A D | test_acpi_bits.py | 67 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/oe/package_manager/rpm/ |
H A D | __init__.py | 30 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/bb/tests/ |
H A D | fetch.py | 432 self.dldir = os.path.join(self.tempdir, "download") 435 self.unpackdir = os.path.join(self.tempdir, "unpacked") 437 persistdir = os.path.join(self.tempdir, "persistdata") 719 cwd=os.path.join(self.unpackdir, 'git')) 723 archive = tarfile.open(os.path.join(self.dldir, self.recipe_tarball)) 742 self.localsrcdir = os.path.join(self.tempdir, 'localsrc') 744 touch(os.path.join(self.localsrcdir, 'a')) 745 touch(os.path.join(self.localsrcdir, 'b')) 746 touch(os.path.join(self.localsrcdir, 'c@d')) 747 os.makedirs(os.path.join(sel [all...] |
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
H A D | vmmnv50.c | 147 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/oeqa/selftest/ |
H A D | case.py | 34 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 …]
|
/openbmc/openbmc/poky/meta/lib/oe/package_manager/ipk/ |
H A D | __init__.py | 26 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/openbmc/poky/bitbake/lib/toaster/bldcontrol/ |
H A D | localhostbecontroller.py | 155 … 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 …]
|
/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) 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/skeleton/pysystemmgr/obmc/system/ |
H A D | __init__.py | 2 from os.path import join 7 for gc in glob(join(path, pattern)): 8 with open(join(gc, "label")) as f: 11 with open(join(gc, "base")) as f: 14 open(join(path, "gpiochip")) 21 offset = int("".join(list(filter(str.isdigit, name))))
|