Home
last modified time | relevance | path

Searched refs:srcrev (Results 1 – 15 of 15) sorted by relevance

/OK3568_Linux_fs/yocto/poky/scripts/
H A Dbuildhistory-collect-srcrevs70 srcrev = None
86 srcrev = value
90 if srcrev and (options.reportall or srcrev != orig_srcrev):
91 all_srcrevs[curdir].append((pn, None, srcrev))
100 for pn, name, srcrev in srcrevs:
102 print('SRCREV_%s:pn-%s%s = "%s"' % (name, pn, forcevariable, srcrev))
104 print('SRCREV:pn-%s%s = "%s"' % (pn, forcevariable, srcrev))
/OK3568_Linux_fs/yocto/poky/scripts/lib/devtool/
H A Dupgrade.py157 srcrev = '${AUTOREV}'
163 srcrev = res.group(1)
165 return srcuri, srcrev
167 def _extract_new_source(newpv, srctree, no_patch, srcrev, srcbranch, branch, keep_temp, tinfoil, rd… argument
181 if srcrev:
182 rev = srcrev
192 check_branch, check_branch_err = __run('git branch -r --contains %s' % srcrev)
208 …de the correct branch in the devtool command with "--srcbranch" or "-B" option.' % (srcrev, mbrch))
310 def _create_new_recipe(newpv, md5, sha256, srcrev, srcbranch, srcsubdir_old, srcsubdir_new, workspa… argument
332 if srcrev:
[all …]
H A Dstandard.py62 if args.srcrev:
152 if args.srcrev:
153 extracmdopts += ' --srcrev %s' % args.srcrev
1535 srcrev = stdout.strip()
1536 if len(srcrev) != 40:
1542 patchfields['SRCREV'] = srcrev
/OK3568_Linux_fs/yocto/poky/meta/classes/
H A Dmigrate_localcount.bbclass25 srcrev = bb.fetch2.get_srcrev(e.data)
26 base_ver = 'AUTOINC-%s' % version[:version.find(srcrev)]
31 if srcrev != ('AUTOINC+%s' % revs[0]):
41 (base_ver, pkgarch, srcrev, str(value)))
H A Dbuildhistory.bbclass123 self.srcrev = ""
978 for name, srcrev in sorted(srcrevs.items()):
985 f.write('SRCREV%s = "%s"\n' % (suffix, srcrev))
986 for name, srcrev in sorted(tag_srcrevs.items()):
987 f.write('# tag_%s = "%s"\n' % (name, srcrev))
988 if name in old_tag_srcrevs and old_tag_srcrevs[name] != srcrev:
990 …kage %s was changed since last build (from %s to %s)" % (name, pkg, old_tag_srcrevs[name], srcrev))
H A Dkernel-yocto.bbclass667 bbnote "dev kernel: adjusting branch to $machine_branch, srcrev to: $force_srcrev"
/OK3568_Linux_fs/yocto/poky/meta/lib/oe/
H A Dpatch.py892 srcrev = d.getVar('SRCREV')
893 if srcrev and srcrev < parm["minrev"]:
897 srcrev = d.getVar('SRCREV')
898 if srcrev and srcrev > parm["maxrev"]:
902 srcrev = d.getVar('SRCREV')
903 if srcrev and parm["rev"] not in srcrev:
907 srcrev = d.getVar('SRCREV')
908 if srcrev and parm["notrev"] in srcrev:
/OK3568_Linux_fs/yocto/poky/scripts/lib/recipetool/
H A Dcreate.py420 srcrev = '${AUTOREV}'
443 if args.srcrev:
449 srcrev = res.group(1)
451 elif args.srcrev:
452 srcrev = args.srcrev
469 if not srcbranch and not nobranch and srcrev != '${AUTOREV}':
492 …checksums, ftmpdir = scriptutils.fetch_url(tinfoil, fetchuri, srcrev, srctree, logger, preserve_tm…
522 …if not srcbranch and not nobranch and srcrev and (srcrev != '${AUTOREV}') and scheme in ['git', 'g…
525 … check_branch, check_branch_err = bb.process.run('%s %s' % (cmd, srcrev), cwd=srctree)
542 …on multiple branches: %s\nPlease provide the correct branch with -B/--srcbranch' % (srcrev, mbrch))
[all …]
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/fetch2/
H A D__init__.py1181 srcrev = None
1193 srcrev = d.getVar(a)
1194 if srcrev and srcrev != "INVALID":
1205 if srcrev == "INVALID" or not srcrev:
1207 if srcrev != parmrev:
1208 …ns (%s from SRCREV and %s from the url) found, please specify one valid value" % (srcrev, parmrev))
1211 if srcrev == "INVALID" or not srcrev:
1213 if srcrev == "AUTOINC":
1214 srcrev = ud.method.latest_revision(ud, d, name)
1216 return srcrev
/OK3568_Linux_fs/yocto/poky/scripts/lib/
H A Dscriptutils.py137 def fetch_url(tinfoil, srcuri, srcrev, destdir, logger, preserve_tmp=False, mirrors=False): argument
181 f.write('SRCREV = "%s"\n' % srcrev)
/OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/selftest/cases/
H A Dsstatetests.py33 srcrev = '6cc6077a36fe2648a5f993fe7c16c9632f946517'
37 result = runCmd('git reset --hard %s' % srcrev, cwd=srcdir)
H A Ddevtool.py350 srcrev = '6cc6077a36fe2648a5f993fe7c16c9632f946517'
357 result = runCmd('git reset --hard %s' % srcrev, cwd=srcdir)
380 checkvars['SRCREV'] = srcrev
/OK3568_Linux_fs/yocto/poky/documentation/ref-manual/
H A Ddevtool-reference.rst85 …no-same-dir] [--fetch URI] [--npm-dev] [--version VERSION] [--no-git] [--srcrev SRCREV | --autorev…
105 --srcrev SRCREV, -S SRCREV
208 - To specify a specific tag or commit hash, use the ``--srcrev``
211 $ devtool add --srcrev &DISTRO_REL_TAG; jackson /home/user/sources/jackson
212 $ devtool add --srcrev some_commit_hash /home/user/sources/jackson
/OK3568_Linux_fs/yocto/poky/documentation/migration-guides/
H A Dmigration-1.5.rst139 .. _migration-1.5-shortened-git-srcrev-values:
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/tests/
H A Dfetch.py1704 srcrev = self.git('rev-parse HEAD', cwd=self.srcdir).strip()
1705 self.d.setVar('SRCREV', srcrev)