Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gitpkgv: Fix $GITPKV for a single named git source | Clemens Lang | 2016-09-05 | 1 | -1/+8 |
| | | | | | | | | | | | | | | | Recipes that fetch from a single git source, assign a name to this source and do not set SRCREV_FORMAT to this name will always get a GITPKGV value of "default", which causes version-going-backwards QA errors. Fix this by automatically determining a suitable SRCREV_FORMAT from the SRC_URI if none is set explicitly. This code does not run for multiple git sources, because bitbake's fetcher enforces setting SRCREV_FORMAT when multiple version-controlled sources are used. Signed-off-by: Clemens Lang <clemens.lang@bmw-carit.de> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||||
* | gitkpkgv: Ensure files are closed | Richard Purdie | 2016-06-08 | 1 | -2/+4 |
| | | | | | | | This avoids warnings with python 3. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||||
* | gitpkgv.bbclass: Add support for gitsm:// url type | Daniel Adolfsson | 2015-12-18 | 1 | -1/+1 |
| | | | | | | | | | When using "gitsm://", for projects using submodules, instead of "git://", gitpkgv does not work. The limitation is synthetic, this patch simply adds gitsm as an allowed url type. Signed-off-by: Daniel Adolfsson <daniel.adolfsson@bluetest.se> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||||
* | gitpkgv.bbclass: cache GITPKGV result | Enrico Scholz | 2013-01-18 | 1 | -6/+24 |
| | | | | | | | | | | | | gitpkgv runs the 'git rev-list | wc -l' several times when processing a package using GITPKGV. This takes ages for packages like the linux kernel which has a) a large repository and b) lots of subpackages. This patch caches the result of 'git rev-list' and uses it on the next run. Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||||
* | Replace bb.data.* with d.* | Paul Eggleton | 2012-10-28 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | Used sed expression given here: http://lists.linuxtogo.org/pipermail/openembedded-core/2011-November/012373.html Plus an additional expression for .expand. Full expression is: sed \ -e 's:bb.data.\(setVar([^,]*,[^,]*\), \([^ )]*\) *):\2.\1):g' \ -e 's:bb.data.\(setVarFlag([^,]*,[^,]*,[^,]*\), \([^) ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,]*\), \([^, ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,]*,[^,]*\), \([^, ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,]*,[^,]*\), \([^) ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,]*\), \([^) ]*\) *):\2.\1):g' \ -e 's:bb.data.\(expand([^,]*\), \([^ )]*\) *):\2.\1):g' \ -i `grep -ril bb.data *` Some minor correction in systemd.bbclass was needed for some expressions that didn't quite match the regex in the desired way; additionally a few instances were manually changed. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> | ||||
* | gitpkgv: add support SRCREV_FORMAT | Otavio Salvador | 2011-09-04 | 1 | -24/+35 |
| | | | | | | | | | | | | In case of multiple GIT repositories are used, SRCREV_FORMAT will be respected while filling it with the proper GIT information to each revision. This new feature needed heavy changes in the code so basically it was a rewrote version that keeps compatibility with previous usage. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | ||||
* | recipes,classes: import a lot of recipes from meta-shr | Martin Jansa | 2011-04-10 | 1 | -0/+84 |
* tested on shr-lite-image for om-gta02 and nokia900 (with meta-shr layer) |