Lines Matching refs:srctree

34     srctree = tmpdir
37 srctree = os.path.join(tmpdir, dirs[0])
38 return srctree
91 def _write_append(rc, srctreebase, srctree, same_dir, no_same_dir, rev, copied, workspace, d): argument
102 srctree = os.path.abspath(srctree)
115 f.write('EXTERNALSRC:pn-%s = "%s"\n' % (pn, srctree))
118 f.write('EXTERNALSRC_BUILD:pn-%s = "%s"\n' % (pn, srctree))
127 def _cleanup_on_error(rd, srctree): argument
130 srctree = os.path.abspath(srctree)
131 if os.path.exists(srctree):
132 shutil.rmtree(srctree)
134 def _upgrade_error(e, rd, srctree, keep_failure=False, extramsg=None): argument
136 _cleanup_on_error(rd, srctree)
167 def _extract_new_source(newpv, srctree, no_patch, srcrev, srcbranch, branch, keep_temp, tinfoil, rd… argument
172 return _run(cmd, srctree)
225 srctree = os.path.abspath(srctree)
229 for item in os.listdir(srctree):
232 itempath = os.path.join(srctree, item)
239 _copy_source_code(tmpsrctree, srctree)
310 …dir_old, srcsubdir_new, workspace, tinfoil, rd, license_diff, new_licenses, srctree, keep_failure): argument
433 …_upgrade_error(e, os.path.dirname(fullpath), srctree, keep_failure, 'Parsing of upgraded recipe fa…
524 if args.srctree:
525 srctree = os.path.abspath(args.srctree)
527 srctree = standard.get_default_srctree(config, pn)
529 srctree_s = standard.get_real_srctree(srctree, rd.getVar('S'), rd.getVar('WORKDIR'))
559 …rev1, srcsubdir1 = standard._extract_source(srctree, False, 'devtool-orig', False, config, basepat…
562 …rev2, md5, sha256, srcbranch, srcsubdir2 = _extract_new_source(args.version, srctree, args.no_patc…
567 …subdir2, config.workspace_path, tinfoil, rd, license_diff, new_licenses, srctree, args.keep_failur…
570 _upgrade_error(e, recipedir, srctree, args.keep_failure)
573 af = _write_append(rf, srctree, srctree_s, args.same_dir, args.no_same_dir, rev2,
579 logger.info('Upgraded source extracted to %s' % srctree)