Home
last modified time | relevance | path

Searched refs:destdir (Results 1 – 25 of 68) sorted by relevance

123

/openbmc/openbmc/poky/meta/lib/bblayers/
H A Dbuildconf.py32 destdir = os.path.join(templatepath, "conf", "templates", templatename)
33 os.makedirs(destdir, exist_ok=True)
36 with open(os.path.join(destdir, "local.conf.sample"), 'w') as dest:
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")…
/openbmc/qemu/scripts/
H A Dnsis.py57 destdir = tempfile.mkdtemp()
59 subprocess.run(["make", "install", "DESTDIR=" + destdir])
61 os.path.join(destdir + prefix, "system-emulations.nsh"), "w"
63 os.path.join(destdir + prefix, "system-mui-text.nsh"), "w"
66 os.path.join(destdir + prefix, "qemu-system-*.exe")
92 dlldir = os.path.join(destdir + prefix, "dll")
95 for exe in glob.glob(os.path.join(destdir + prefix, "*.exe")):
115 "-DBINDIR=" + destdir + prefix,
125 shutil.rmtree(destdir)
/openbmc/openbmc/poky/scripts/
H A Doe-publish-sdk51 host, destdir = destination.split(':')
52 dest_sdk = os.path.join(destdir, sdk_basename)
56 destdir = destination
63 cmd = "ssh %s 'mkdir -p %s'" % (host, destdir)
66 logger.error("Making directory %s on %s failed" % (destdir, host))
100 cmd = "ssh %s 'sh %s -p -y -d %s%s'" % (host, dest_sdk, destdir, rm_or_not)
103 logger.info('Successfully unpacked %s to %s' % (dest_sdk, destdir))
105 logger.error('Failed to unpack %s to %s' % (dest_sdk, destdir))
112 …&& git config user.name 'OE' && git commit -q -m \"init repo\" || true'" % (host, destdir, destdir)
H A Dgen-lockedsig-cache105 destdir = os.path.dirname(dst) variable
106 mkdir(destdir)
111 if (os.stat(src).st_dev == os.stat(destdir).st_dev):
/openbmc/linux/scripts/package/
H A Dinstall-extmod-build6 destdir=${1}
15 mkdir -p "${destdir}"
24 ) | tar -c -f - -C "${srctree}" -T - | tar -xf - -C "${destdir}"
36 } | tar -c -f - -T - | tar -xf - -C "${destdir}"
39 cp "${KCONFIG_CONFIG}" "${destdir}/.config"
/openbmc/openbmc/poky/bitbake/lib/bb/fetch2/
H A Dgitannex.py65 def unpack(self, ud, destdir, d): argument
66 Git.unpack(self, ud, destdir, d)
69 runfetchcmd("%s annex init" % (ud.basecmd), d, workdir=ud.destdir)
73 annex = self.uses_annex(ud, d, ud.destdir)
75 runfetchcmd("%s annex get" % (ud.basecmd), d, workdir=ud.destdir)
76 … runfetchcmd("chmod u+w -R %s/.git/annex" % (ud.destdir), d, quiet=True, workdir=ud.destdir)
H A Dgit.py508 if os.path.exists(os.path.join(ud.destdir, ".git", "lfs")):
509 … runfetchcmd("tar -cf - lfs | tar -xf - -C %s" % ud.clonedir, d, workdir="%s/.git" % ud.destdir)
635 def unpack(self, ud, destdir, d): argument
650 if not os.path.realpath(subdir).startswith(os.path.realpath(destdir)):
651 …e bb.fetch2.UnpackError("subdir argument isn't a subdirectory of unpack root %s" % destdir, ud.url)
652 destdir = subdir
654 destdir = os.path.join(destdir, subdir)
658 destdir = ud.destdir = os.path.join(destdir, destsuffix)
659 if os.path.exists(destdir):
660 bb.utils.prunedir(destdir)
[all …]
H A Dgitsm.py205 def unpack(self, ud, destdir, d): argument
211 repo_conf = ud.destdir
213 repo_conf = os.path.join(ud.destdir, '.git')
229 …rl %(url)s" % {'basecmd': ud.basecmd, 'module': module, 'url' : local_path}, d, workdir=ud.destdir)
232 …module.%(module)s.shallow true" % {'basecmd': ud.basecmd, 'module': module}, d, workdir=ud.destdir)
241 Git.unpack(self, ud, destdir, d)
243 ret = self.process_submodules(ud, ud.destdir, unpack_submodules, d)
251 …GE=1 %s submodule update --recursive --no-fetch" % (ud.basecmd), d, quiet=True, workdir=ud.destdir)
H A Dnpm.py75 def npm_unpack(tarball, destdir, d): argument
77 bb.utils.mkdirhier(destdir)
82 runfetchcmd(cmd, d, workdir=destdir)
83 runfetchcmd("chmod -R +X '%s'" % (destdir), d, quiet=True, workdir=destdir)
300 destdir = os.path.join(rootdir, destsuffix)
301 npm_unpack(ud.localpath, destdir, d)
302 ud.unpack_tracer.unpack("npm", destdir)
H A Dnpmsw.py249 destdir = rootdir
252 destdir = os.path.join(rootdir, destsuffix)
253 ud.unpack_tracer.unpack("npm-shrinkwrap", destdir)
255 bb.utils.mkdirhier(destdir)
257 os.path.join(destdir, "npm-shrinkwrap.json"))
263 ud.proxy.unpack(destdir, auto)
266 depdestdir = os.path.join(destdir, dep["destsuffix"])
270 depsrcdir= os.path.join(destdir, dep["localpath"])
/openbmc/openbmc/meta-openembedded/meta-webserver/recipes-httpd/apache2/apache2/
H A D0009-support-apxs.in-force-destdir-to-be-empty-string.patch4 Subject: [PATCH] support/apxs.in: force destdir to be empty string
6 If destdir is assigned to anything other than the empty string, the
33 my $destdir = "";
36 - $destdir = substr($0, 0, $ddi);
38 +# Comment out assignment of destdir so that it doesn't affect bitbake
42 +# $destdir = substr($0, 0, $ddi);
/openbmc/openbmc/poky/scripts/lib/recipetool/
H A Dcreate_npm.py118 def _find_package_licenses(destdir): argument
130 basedir = os.path.join(srctree, destdir)
139 def _get_package_licenses(destdir, package): argument
140 (package_licfiles, package_licenses) = _find_package_licenses(destdir)
147 def _handle_dependency(name, params, destdir): argument
148 deptree = destdir.split('node_modules/')
150 packages["${PN}" + suffix] = destdir
151 _get_package_licenses(destdir, "${PN}" + suffix)
/openbmc/openbmc/poky/meta/lib/bblayers/setupwriters/
H A Doe-setup-layers.py68 output = os.path.join(os.path.abspath(args.destdir), output)
85 if not os.path.exists(args.destdir):
86 os.makedirs(args.destdir)
87 repos = parent.make_repo_config(args.destdir)
/openbmc/openbmc/meta-phosphor/classes/
H A Dphosphor-debug-collector.bbclass58 destdir = os.path.join(dreport_dir, ("pl_" + typestr + ".d"))
59 if not os.path.exists(destdir):
60 os.makedirs(destdir)
64 destlink = os.path.join(destdir, linkname)
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Drecipetool.py1012 def _try_recipetool_appendsrcfiles(self, testrecipe, newfiles, expectedlines=None, expectedfiles=None, destdir=None, options=''):
1014 if destdir:
1015 options += ' -D %s' % destdir
1040 def _test_appendsrcfile(self, testrecipe, filename=None, destdir=None, has_src_uri=True, srcdir=None, newfile=None, remove=None, machine=None , options=''):
1045 if destdir:
1046 expected_subdir = os.path.join(srcdir, destdir)
1051 expected_subdir = destdir
1054 if destdir:
1055 destpath = os.path.join(destdir, filename)
1060 if destdir
1192 _try_recipetool_appendsrcfiles(self, testrecipe, newfiles, expectedlines=None, expectedfiles=None, destdir=None, options='') global() argument
1220 _test_appendsrcfile(self, testrecipe, filename=None, destdir=None, has_src_uri=True, srcdir=None, newfile=None, remove=None, machine=None , options='') global() argument
1284 _test_appendsrcfiles(self, testrecipe, newfiles, expectedfiles=None, destdir=None, options='') global() argument
1390 test_recipetool_appendsrcfiles_basic(self, destdir=None) global() argument
[all...]
/openbmc/openbmc/poky/meta/classes-global/
H A Dlicense.bbclass13 LICSSTATEDIR = "${WORKDIR}/license-destdir/"
38destdir = os.path.join(d.getVar('LICSSTATEDIR'), d.getVar('LICENSE_DEPLOY_PATHCOMPONENT'), d.getVa…
39 copy_license_files(lic_files_paths, destdir)
41 with open(os.path.join(destdir, "recipeinfo"), "w") as f:
55 destdir = d.getVar('D') + os.path.join(d.getVar('LICENSE_FILES_DIRECTORY'), d.getVar('PN'))
56 copy_license_files(lic_files_paths, destdir)
80 def copy_license_files(lic_files_paths, destdir):
84 bb.utils.mkdirhier(destdir)
88 dst = os.path.join(destdir, basename)
93 …canlink = os.access(src, os.W_OK) and (os.stat(src).st_dev == os.stat(destdir).st_dev) and beginli…
/openbmc/qemu/tests/docker/
H A Dcommon.rc88 make install $MAKEFLAGS DESTDIR=$PWD/=destdir
90 rm -rf $PWD/=destdir
/openbmc/openbmc/poky/scripts/lib/devtool/
H A Ddeploy.py169 host, destdir = args.target.split(':')
171 destdir = '/'
174 if not destdir.endswith('/'):
175 destdir += '/'
209 fpath = os.path.join(destdir, os.path.relpath(root, recipe_outdir), fn)
267 …shexec, ssh_port, extraoptions, args.target, tmpscript, args.recipename, destdir, tmpfilelist), cw…
278 files_list.append(os.path.join(destdir, filename))
/openbmc/openbmc/poky/meta/recipes-gnome/gtk-doc/files/
H A Dno-clobber.patch32 destdir=`dirname $(abs_builddir)/$$file`; \
33 test -d "$$destdir" || mkdir -p "$$destdir"; \
/openbmc/openbmc/poky/meta/lib/oe/
H A Dcopy_buildsystem.py40 def copy_bitbake_and_layers(self, destdir, workspace_name=None): argument
45 bb.utils.mkdirhier(destdir)
99 layerdestpath = destdir
112 destdir)
272 destdir = os.path.join(output_sstate_cache, fixedlsbstring)
276 dest = os.path.join(destdir, os.path.relpath(src, nativedir))
H A Dsdk.py62 def movefile(self, sourcefile, destdir): argument
67 if (bb.utils.movefile(sourcefile, destdir) == None):
69 %(sourcefile, destdir))
H A Drecipeutils.py542 def get_bbfile_path(d, destdir, extrapathhint=None): argument
553 destdir = os.path.abspath(destdir)
554 destlayerdir = find_layerdir(destdir)
582 if destdir == destlayerdir:
596 pathoptions = [destdir]
598 pathoptions.append(os.path.join(destdir, extrapathhint))
599 if destdir == destlayerdir:
600 pathoptions.append(os.path.join(destdir, 'recipes-%s' % bpn, bpn))
601 pathoptions.append(os.path.join(destdir, 'recipes', bpn))
602 pathoptions.append(os.path.join(destdir, bpn))
[all …]
/openbmc/linux/tools/memory-model/scripts/
H A Dchecklitmushist.sh45 destdir="$LKMM_DESTDIR"
48 LKMM_DESTDIR="$destdir"; export LKMM_DESTDIR
/openbmc/linux/fs/overlayfs/
H A Dcopy_up.c541 struct dentry *destdir; member
710 struct inode *udir = d_inode(c->destdir), *wdir = d_inode(c->workdir); in ovl_copy_up_workdir()
724 if (lock_rename(c->workdir, c->destdir) != NULL) in ovl_copy_up_workdir()
757 upper = ovl_lookup_upper(ofs, c->destname.name, c->destdir, in ovl_copy_up_workdir()
781 unlock_rename(c->workdir, c->destdir); in ovl_copy_up_workdir()
795 struct inode *udir = d_inode(c->destdir); in ovl_copy_up_tmpfile()
824 upper = ovl_lookup_upper(ofs, c->destname.name, c->destdir, in ovl_copy_up_tmpfile()
884 c->destdir = ovl_indexdir(c->dentry->d_sb); in ovl_do_copy_up()
896 err = ovl_set_impure(c->parent, c->destdir); in ovl_do_copy_up()
916 struct inode *udir = d_inode(c->destdir); in ovl_do_copy_up()
[all …]
/openbmc/openbmc/poky/meta/classes-recipe/
H A Dcpan_build.bbclass27 perl Build.PL --installdirs vendor --destdir ${D} \
44 perl Build install --destdir ${D}

123