/openbmc/openbmc/poky/scripts/ |
H A D | buildhistory-collect-srcrevs | 70 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))
|
/openbmc/openbmc/poky/bitbake/lib/bb/fetch2/ |
H A D | gomod.py | 195 srcrev = d.getVar('SRCREV_' + name) 196 if srcrev: 198 ud.parm['srcrev'] = srcrev 234 srcrev = ud.parm['srcrev'] 248 cmd = ['git', 'cat-file', 'blob', srcrev + ':' + f] 262 cmd = ['git', 'cat-file', 'blob', srcrev + ':' + f]
|
H A D | __init__.py | 1222 srcrev = None 1234 srcrev = d.getVar(a) 1235 if srcrev and srcrev != "INVALID": 1246 if srcrev == "INVALID" or not srcrev: 1248 if srcrev != parmrev: 1249 …ns (%s from SRCREV and %s from the url) found, please specify one valid value" % (srcrev, parmrev)) 1252 if srcrev == "INVALID" or not srcrev: 1254 if srcrev == "AUTOINC": 1256 srcrev = ud.method.latest_revision(ud, d, name) 1258 return srcrev
|
/openbmc/openbmc/poky/scripts/lib/devtool/ |
H A D | upgrade.py | 160 srcrev = '${AUTOREV}' 166 srcrev = res.group(1) 168 return srcuri, srcrev 170 def _extract_new_source(newpv, srctree, no_patch, srcrev, srcbranch, branch, keep_temp, tinfoil, rd… argument 185 if srcrev: 186 rev = srcrev 200 check_branch, check_branch_err = __run('git branch -r --contains %s' % srcrev) 216 …de the correct branch in the devtool command with "--srcbranch" or "-B" option.' % (srcrev, mbrch)) 336 def _create_new_recipe(newpv, checksums, srcrev, srcbranch, srcsubdir_old, srcsubdir_new, workspace… argument 358 if srcrev: [all …]
|
H A D | standard.py | 65 if args.srcrev: 157 if args.srcrev: 158 extracmdopts += ' --srcrev %s' % args.srcrev 1535 srcrev = stdout.strip() 1536 if len(srcrev) != 40: 1542 patchfields['SRCREV'] = srcrev
|
/openbmc/openbmc/poky/scripts/lib/recipetool/ |
H A D | create.py | 420 srcrev = '${AUTOREV}' 474 if args.srcrev: 480 srcrev = res.group(1) 482 elif args.srcrev: 483 srcrev = args.srcrev 500 if not srcbranch and not nobranch and srcrev != '${AUTOREV}': 523 …checksums, ftmpdir = scriptutils.fetch_url(tinfoil, fetchuri, srcrev, srctree, logger, preserve_tm… 553 …if not srcbranch and not nobranch and srcrev and (srcrev != '${AUTOREV}') and scheme in ['git', 'g… 556 … check_branch, check_branch_err = bb.process.run('%s %s' % (cmd, srcrev), cwd=srctree) 573 …on multiple branches: %s\nPlease provide the correct branch with -B/--srcbranch' % (srcrev, mbrch)) [all …]
|
/openbmc/openbmc/poky/meta/lib/oe/ |
H A D | patch.py | 972 srcrev = d.getVar('SRCREV') 973 if srcrev and srcrev < parm["minrev"]: 977 srcrev = d.getVar('SRCREV') 978 if srcrev and srcrev > parm["maxrev"]: 982 srcrev = d.getVar('SRCREV') 983 if srcrev and parm["rev"] not in srcrev: 987 srcrev = d.getVar('SRCREV') 988 if srcrev and parm["notrev"] in srcrev:
|
/openbmc/openbmc/poky/meta-selftest/recipes-test/gitunpackoffline/ |
H A D | gitunpackoffline-fail.bb | 3 # Clear the base.bbclass magic srcrev call
|
/openbmc/openbmc/poky/scripts/lib/ |
H A D | scriptutils.py | 135 def fetch_url(tinfoil, srcuri, srcrev, destdir, logger, preserve_tmp=False, mirrors=False): argument 179 f.write('SRCREV = "%s"\n' % srcrev)
|
/openbmc/openbmc/poky/meta/classes/ |
H A D | buildhistory.bbclass | 121 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))
|
/openbmc/openbmc/poky/documentation/ref-manual/ |
H A D | devtool-reference.rst | 80 … [--fetch URI] [--npm-dev] [--no-pypi] [--version VERSION] [--no-git] [--srcrev SRCREV | --autorev] 101 --srcrev SRCREV, -S SRCREV 203 - To specify a specific tag or commit hash, use the ``--srcrev`` 206 $ devtool add --srcrev &DISTRO_REL_TAG; jackson /home/user/sources/jackson 207 $ devtool add --srcrev some_commit_hash /home/user/sources/jackson
|
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/ |
H A D | devtool.py | 293 def _test_devtool_add_git_url(self, git_url, version, pn, resulting_src_uri, srcrev=None): argument 297 if srcrev : 298 command += ' --srcrev %s' %srcrev 445 srcrev = '6cc6077a36fe2648a5f993fe7c16c9632f946517' 452 result = runCmd('git reset --hard %s' % srcrev, cwd=srcdir) 475 checkvars['SRCREV'] = srcrev 489 srcrev = 'v3.1.0' 494 self._test_devtool_add_git_url(git_url, version, pn, resulting_src_uri, srcrev)
|
H A D | sstatetests.py | 230 srcrev = '6cc6077a36fe2648a5f993fe7c16c9632f946517' 234 result = runCmd('git reset --hard %s' % srcrev, cwd=srcdir)
|
H A D | recipetool.py | 769 srcrev = "c3e213c01b6c1406b430df03ef0d1ae77de5d2f7" 772 …result = runCmd('recipetool create -o %s %s -S %s -B %s' % (temprecipe, srcuri, srcrev, srcbranch))
|
/openbmc/openbmc/poky/documentation/migration-guides/ |
H A D | release-notes-4.3.2.rst | 46 - devtool: finish/update-recipe: restrict mode srcrev to recipes fetched from SCM
|
H A D | migration-1.5.rst | 143 .. _migration-1.5-shortened-git-srcrev-values:
|
/openbmc/openbmc/poky/meta/classes-recipe/ |
H A D | kernel-yocto.bbclass | 714 bbnote "dev kernel: adjusting branch to $machine_branch, srcrev to: $force_srcrev"
|
/openbmc/openbmc/poky/bitbake/lib/bb/tests/ |
H A D | fetch.py | 1825 srcrev = self.git('rev-parse HEAD', cwd=self.srcdir).strip() 1826 self.d.setVar('SRCREV', srcrev)
|