aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/classes/gitver.bbclass
AgeCommit message (Collapse)Author
2017-06-22gitver: skip packages instead of panic()ing if ${GITVER} fails to expandAlejandro Mery
`inherit externalsrc gitver` is a very useful combo to get development trees in your workspace having a ${PN}_git.bb with PV=${GITVER} coexisting with a regular ${PN}_${PV}.bb but not everyone wants to checkout all developments sources and managinging different layers for each options is quite troublesome. making `gitver` skip the .bb instead of panic()ing every time EXTERNALSRC is missing allows people to have a single development layer where packages get enabled if the right sources are present or falling back to the last release if not Signed-off-by: Alejandro Mery <amery@hanoverdisplays.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-06-14gitver: fix broken ${GITSHA} and recursion in S when PV="${GITVER}"Alejandro Mery
Signed-off-by: Alejandro Mery <amery@hanoverdisplays.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-06-14gitver: extend class to use EXTERNALSRC if setAlejandro Mery
Signed-off-by: Alejandro Mery <amery@hanoverdisplays.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-07gitver: fix try/except syntax for python3 supportAlejandro Mery
https://www.python.org/dev/peps/pep-3110/ It's backward compatible with 2.6+ Signed-off-by: Alejandro Mery <amery@hanoverdisplays.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-12-02remove True option to getVar callsJoshua Lock
getVar() now defaults to expanding by default, thus remove the True option from getVar() calls with a regex search and replace. Search made with the following regex: getVar ?\(( ?[^,()]*), True\) Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2012-10-30gitver: fix gitver to work with yocto 1.3Radek Dostal
replace oe_run and oe.process with bb.process gitver got broken by following oe-core commits: 15ad62ab1be060d8a7cdc2d28167ea3af4cfd5d5 d56062cbf92ef206bf06c767befacb66927a9a36 Signed-off-by: Radek Dostal <rd@radekdostal.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-04-10recipes,classes: import a lot of recipes from meta-shrMartin Jansa
* tested on shr-lite-image for om-gta02 and nokia900 (with meta-shr layer)