Home
last modified time | relevance | path

Searched refs:workdir (Results 1 – 25 of 85) sorted by relevance

1234

/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/fetch2/
H A Dgitsm.py37 def process_submodules(self, ud, workdir, function, d): argument
67 …tchcmd("%s show %s:.gitmodules" % (ud.basecmd, ud.revisions[name]), d, quiet=True, workdir=workdir)
74 …s-tree -z -d %s %s" % (ud.basecmd, ud.revisions[name], md['path']), d, quiet=True, workdir=workdir)
138 function(ud, url, module, paths[module], workdir, ld)
147 def need_update_submodule(ud, url, module, modpath, workdir, d): argument
163 runfetchcmd("tar -xzf %s" % ud.fullshallow, d, workdir=tmpdir)
176 def download_submodule(ud, url, module, modpath, workdir, d): argument
195 runfetchcmd("tar -xzf %s" % ud.fullshallow, d, workdir=tmpdir)
202 def unpack_submodules(ud, url, module, modpath, workdir, d): argument
221 …rl %(url)s" % {'basecmd': ud.basecmd, 'module': module, 'url' : local_path}, d, workdir=ud.destdir)
[all …]
H A Dgitannex.py30 runfetchcmd("%s rev-list git-annex" % (ud.basecmd), d, quiet=True, workdir=wd)
39 runfetchcmd("%s annex get --all" % (ud.basecmd), d, quiet=True, workdir=wd)
42 runfetchcmd("chmod u+w -R %s/annex" % (ud.clonedir), d, quiet=True, workdir=wd)
57 runfetchcmd("%s annex init" % ud.basecmd, d, workdir=dest)
62 runfetchcmd("%s annex get" % ud.basecmd, d, workdir=dest)
63 runfetchcmd("chmod u+w -R %s/.git/annex" % (dest), d, quiet=True, workdir=dest)
69 runfetchcmd("%s annex init" % (ud.basecmd), d, workdir=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 Dcvs.py114 workdir = None
119 workdir = moddir
125 workdir = ud.pkgdir
130 runfetchcmd(cmd, d, cleanup=[moddir], workdir=workdir)
142 workdir = None
144 workdir = ud.pkgdir
147 workdir = os.path.dirname(os.path.realpath(moddir))
150 runfetchcmd(cmd, d, cleanup=[ud.localpath], workdir=workdir)
H A Dhg.py158 runfetchcmd("tar -xzf %s" % (ud.fullmirror), d, workdir=ud.pkgdir)
165 runfetchcmd(updatecmd, d, workdir=ud.moddir)
173 runfetchcmd(pullcmd, d, workdir=ud.moddir)
188 runfetchcmd(fetchcmd, d, workdir=ud.pkgdir)
194 runfetchcmd(updatecmd, d, workdir=ud.moddir)
231 runfetchcmd("tar -czf %s %s" % (ud.fullmirror, ud.module), d, workdir=ud.pkgdir)
232 runfetchcmd("touch %s.done" % (ud.fullmirror), d, workdir=ud.pkgdir)
254 …default.schemes=%s\" pull %s" % (ud.basecmd, ud.user, ud.pswd, proto, ud.moddir), d, workdir=codir)
256 runfetchcmd("%s pull %s" % (ud.basecmd, ud.moddir), d, workdir=codir)
258 ….default.schemes=%s\" up -C %s" % (ud.basecmd, ud.user, ud.pswd, proto, revflag), d, workdir=codir)
[all …]
H A Dgit.py325 … runfetchcmd('%s rev-parse -q --verify %s' % (ud.basecmd, rev), d, quiet=True, workdir=ud.clonedir)
356 runfetchcmd("tar -xzf %s" % ud.fullmirror, d, workdir=ud.clonedir)
377 output = runfetchcmd("%s remote" % ud.basecmd, d, quiet=True, workdir=ud.clonedir)
379 runfetchcmd("%s remote rm origin" % ud.basecmd, d, workdir=ud.clonedir)
381 … remote add --mirror=fetch origin %s" % (ud.basecmd, shlex.quote(repourl)), d, workdir=ud.clonedir)
390 runfetchcmd(fetch_cmd, d, log=progresshandler, workdir=ud.clonedir)
391 runfetchcmd("%s prune-packed" % ud.basecmd, d, workdir=ud.clonedir)
392 runfetchcmd("%s pack-refs --all" % ud.basecmd, d, workdir=ud.clonedir)
393 … runfetchcmd("%s pack-redundant --all | xargs -r rm" % ud.basecmd, d, workdir=ud.clonedir)
434 … runfetchcmd("tar -cf - lfs | tar -xf - -C %s" % ud.clonedir, d, workdir="%s/git/.git" % tmpdir)
[all …]
H A Dnpm.py78 runfetchcmd(cmd, d, workdir=destdir)
79 runfetchcmd("chmod -R +X '%s'" % (destdir), d, quiet=True, workdir=destdir)
102 def run(self, cmd, args=None, configs=None, workdir=None): argument
108 if not workdir:
109 workdir = tmpdir
114 return runfetchcmd(cmd, d, workdir=workdir)
H A Dsvn.py135 runfetchcmd(ud.basecmd + " upgrade", d, workdir=ud.moddir)
140 runfetchcmd(svncmd, d, workdir=ud.moddir)
148 runfetchcmd(svncmd, d, workdir=ud.pkgdir)
152 output = runfetchcmd("svn propget svn:externals || true", d, workdir=ud.moddir)
170 cleanup=[ud.localpath], workdir=ud.pkgdir)
H A Drepo.py66 …" % (ud.basecmd, ud.manifest, ud.branch, ud.proto, username, ud.host, ud.path), d, workdir=repodir)
69 runfetchcmd("%s sync" % ud.basecmd, d, workdir=repodir)
78 …etchcmd("tar %s -czf %s %s" % (tar_flags, ud.localpath, os.path.join(".", "*") ), d, workdir=codir)
H A Dbzr.py79 runfetchcmd(bzrcmd, d, workdir=os.path.join(ud.pkgdir, os.path.basename(ud.path)))
87 runfetchcmd(bzrcmd, d, workdir=ud.pkgdir)
97 d, cleanup=[ud.localpath], workdir=ud.pkgdir)
H A Dosc.py98 runfetchcmd(oscupdatecmd, d, workdir=ud.moddir)
106 runfetchcmd(oscfetchcmd, d, workdir=ud.pkgdir)
110 cleanup=[ud.localpath], workdir=os.path.join(ud.pkgdir + ud.path))
/OK3568_Linux_fs/kernel/fs/overlayfs/
H A Dsuper.c231 dput(ofs->workdir); in ovl_free_fs()
252 kfree(ofs->config.workdir); in ovl_free_fs()
336 return (!ovl_upper_mnt(ofs) || !ofs->workdir); in ovl_force_readonly()
369 seq_show_option(m, "workdir", ofs->config.workdir); in ovl_show_options()
550 kfree(config->workdir); in ovl_parse_opt()
551 config->workdir = match_strdup(&args[0]); in ovl_parse_opt()
552 if (!config->workdir) in ovl_parse_opt()
631 if (config->workdir) { in ovl_parse_opt()
633 config->workdir); in ovl_parse_opt()
634 kfree(config->workdir); in ovl_parse_opt()
[all …]
H A Ddir.c45 struct dentry *ovl_lookup_temp(struct dentry *workdir) in ovl_lookup_temp() argument
54 temp = lookup_one_len(name, workdir, strlen(name)); in ovl_lookup_temp()
69 struct dentry *workdir = ofs->workdir; in ovl_whiteout() local
70 struct inode *wdir = workdir->d_inode; in ovl_whiteout()
73 whiteout = ovl_lookup_temp(workdir); in ovl_whiteout()
87 whiteout = ovl_lookup_temp(workdir); in ovl_whiteout()
112 struct inode *wdir = ofs->workdir->d_inode; in ovl_cleanup_and_whiteout()
226 struct dentry *ovl_create_temp(struct dentry *workdir, struct ovl_cattr *attr) in ovl_create_temp() argument
228 return ovl_create_real(d_inode(workdir), ovl_lookup_temp(workdir), in ovl_create_temp()
361 struct dentry *workdir = ovl_workdir(dentry); in ovl_clear_empty() local
[all …]
H A Dcopy_up.c444 struct dentry *workdir; member
582 struct inode *udir = d_inode(c->destdir), *wdir = d_inode(c->workdir); in ovl_copy_up_workdir()
595 if (lock_rename(c->workdir, c->destdir) != NULL) in ovl_copy_up_workdir()
602 temp = ovl_create_temp(c->workdir, &cattr); in ovl_copy_up_workdir()
636 unlock_rename(c->workdir, c->destdir); in ovl_copy_up_workdir()
658 temp = ovl_do_tmpfile(c->workdir, c->stat.mode); in ovl_copy_up_tmpfile()
716 c->workdir = ovl_indexdir(c->dentry->d_sb); in ovl_do_copy_up()
873 .workdir = ovl_workdir(dentry), in ovl_copy_up_one()
876 if (WARN_ON(!ctx.workdir)) in ovl_copy_up_one()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/onig/onig/
H A Drun-ptest4 [ -n "${workdir:-}" ] && rm -rf "${workdir}"
16 workdir=$(mktemp -d -t onig.ptest.XXXXXX)
17 status="${workdir}/failed"
35 ' _ "${workdir}" "${status}" {} \;
/OK3568_Linux_fs/yocto/poky/meta/classes/
H A Ddevtool-source.bbclass33 workdir = os.path.join(tempdir, 'workdir')
34 d.setVar('WORKDIR', workdir)
35 if not d.getVar('S').startswith(workdir):
36 # Usually a shared workdir recipe (kernel, gcc)
75 workdir = d.getVar('WORKDIR')
108 shutil.copy2(cfg, workdir)
113 os.path.exists(os.path.join(workdir, fname)) and
114 (srcabspath == workdir or not
115 os.path.join(workdir, fname).startswith(srcabspath +
119 _move_file(os.path.join(workdir, fname),
[all …]
H A Dpatch.bbclass38 workdir = os.path.abspath(d.getVar('WORKDIR'))
40 if (testsrcdir + os.sep).startswith(workdir + os.sep):
41 # Double-check that either workdir or S or some directory in-between is a git repository
43 while testsrcdir != workdir:
47 if testsrcdir == workdir:
/OK3568_Linux_fs/buildroot/support/testing/tests/package/
H A Dtest_rust.py29 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)
34 cmd = [cargo, 'init', '--bin', '--vcs', 'none', '-vv', workdir]
55 shutil.rmtree(workdir)
/OK3568_Linux_fs/yocto/poky/scripts/lib/wic/plugins/imager/
H A Ddirect.py66 self.workdir = self.setup_workdir(options.workdir)
78 image_path = self._full_path(self.workdir, self.parts[0].disk, "direct")
83 def setup_workdir(self, workdir): argument
84 if workdir:
85 if os.path.exists(workdir):
86 … raise WicError("Internal workdir '%s' specified in wic arguments already exists!" % (workdir))
88 os.makedirs(workdir)
89 return workdir
148 self.updated_fstab_path = os.path.join(self.workdir, "fstab")
206 plugin.do_install_disk(self._image, disk_name, self, self.workdir,
[all …]
/OK3568_Linux_fs/yocto/poky/meta/lib/oe/
H A Dreproducible.py78 workdir = d.getVar('WORKDIR')
79 gitpath = os.path.join(workdir, "git/.git")
92 for root, dirs, files in os.walk(workdir, topdown=True):
97 bb.warn("Failed to find a git repository in WORKDIR: %s" % workdir)
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-protocols/net-snmp/net-snmp/
H A Drun-ptest3 workdir=$(dirname `realpath $0`)
4 cd ${workdir}/testing
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/go/go-1.18/
H A D0002-cmd-go-make-content-based-hash-generation-less-pedan.patch120 func (b *Builder) GccCmd(incdir, workdir string) []string {
121 - return b.compilerCmd(b.ccExe(), incdir, workdir)
122 + return b.compilerCmd(b.ccExe(false), incdir, workdir)
127 func (b *Builder) GxxCmd(incdir, workdir string) []string {
128 - return b.compilerCmd(b.cxxExe(), incdir, workdir)
129 + return b.compilerCmd(b.cxxExe(false), incdir, workdir)
133 func (b *Builder) gfortranCmd(incdir, workdir string) []string {
134 - return b.compilerCmd(b.fcExe(), incdir, workdir)
135 + return b.compilerCmd(b.fcExe(false), incdir, workdir)
/OK3568_Linux_fs/yocto/poky/meta/files/
H A Doverlayfs-unit.mount.in10 …dir={LOWERDIR},upperdir={DATA_MOUNT_POINT}/upper{LOWERDIR},workdir={DATA_MOUNT_POINT}/workdir{LOWE…
/OK3568_Linux_fs/yocto/poky/scripts/lib/wic/plugins/source/
H A Dbootimg-biosplusefi.py120 def do_install_disk(cls, disk, disk_name, creator, workdir, oe_builddir, argument
134 workdir,
144 workdir,
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/gcc/
H A Dgcc-shared-source.inc14 # Copy the SDE from the shared workdir to the recipe workdir
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/psplash/
H A Dpsplash_git.bb80 workdir = d.getVar('WORKDIR')
87 … if subprocess.call([ convertscript, os.path.join(workdir, localfile), 'POKY' ], cwd=workdir):
90 shutil.copyfile(os.path.join(workdir, "%s-img.h" % fbase), destfile)
92 shutil.copyfile(os.path.join(workdir, localfile), destfile)

1234