aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2010-04-13 08:52:25 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2010-04-19 01:18:41 +0200
commit0012e26042abf98f00bc8986e0cbbab9b0353407 (patch)
treef6e39236f99cee83de8f60229efd00778b4aca25
parent523790db6f5307719d5609fb354430772e8d5aca (diff)
downloadopenembedded-0012e26042abf98f00bc8986e0cbbab9b0353407.tar.gz
bitbake.conf: enable BB_LOCALCOUNT_OVERRIDE by default, please disable if you're using AUTOREV
* For now disable autoincrement of revision counter in SRCPV, whoever wants it, should enable it in local.conf or distro config. (Set it empty BB_LOCALCOUNT_OVERRIDE = "") * Revision counter is incremented only locally (bad for multiple builders filling shared feeds), LOCALCOUNT can be used to maintain counter globally in OE metadata (LOCALCOUNT value set in recipe). * Make sure you disable it, if you want always upgradable paths for git recipes without bumping LOCALCOUNT with every SRCREV change or if you're using AUTOREV feature. * LOCALCOUNT == value for revision counter in GIT recipes (NNNN in PV="1.0+gitrNNNN+a7401084a72285c8d3485bacf4eed593f303b1b7-r4.4") Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--conf/bitbake.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/conf/bitbake.conf b/conf/bitbake.conf
index 47468ebcdc..74d4da238e 100644
--- a/conf/bitbake.conf
+++ b/conf/bitbake.conf
@@ -579,6 +579,16 @@ SRCREV = "1"
SRCPV = "${@bb.fetch.get_srcrev(d)}"
AUTOREV = "${SRCPV}"
+# For now disable autoincrement of revision counter in SRCPV, whoever wants it, should enable it in local.conf or distro config
+# Revision counter is incremented only locally (bad for multiple builders filling shared feeds), LOCALCOUNT can be used to maintain
+# counter globally in OE metadata (LOCALCOUNT value set in recipe).
+# Make sure you disable it, if you want always upgradable paths for git recipes without bumping LOCALCOUNT with every SRCREV change
+# or if you're using AUTOREV feature.
+BB_LOCALCOUNT_OVERRIDE = "1"
+
+# Value for revision counter in GIT recipes (NNNN in PV="1.0+gitrNNNN+a7401084a72285c8d3485bacf4eed593f303b1b7-r4.4")
+LOCALCOUNT = "0"
+
SRC_URI = "file://${FILE}"
##################################################################