aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/prserv.bbclass
diff options
context:
space:
mode:
authorConstantin Musca <constantinx.musca@intel.com>2013-01-23 16:54:28 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-25 12:35:47 +0000
commite00f49de8b1f79c3e07b887d257bd75a46052fa0 (patch)
treeb9bad731f4747a7f6b2472567c08dd8a75d9c210 /meta/classes/prserv.bbclass
parentd8c0ce5a4a27c8aa1d07fc15d6e000af725a51e6 (diff)
downloadopenembedded-core-contrib-e00f49de8b1f79c3e07b887d257bd75a46052fa0.tar.gz
openembedded-core-contrib-e00f49de8b1f79c3e07b887d257bd75a46052fa0.tar.bz2
openembedded-core-contrib-e00f49de8b1f79c3e07b887d257bd75a46052fa0.zip
prserv: change PRSERV_HOST semantics
- remove PRSERV_PORT variable - use 'hostname:port' as PRSERV_HOST format - remove USE_PR_SERV variable - one can activate PRS by setting PRSERV_HOST [YOCTO #3744] Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/prserv.bbclass')
-rw-r--r--meta/classes/prserv.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/prserv.bbclass b/meta/classes/prserv.bbclass
index 33547f989c..b440d863ef 100644
--- a/meta/classes/prserv.bbclass
+++ b/meta/classes/prserv.bbclass
@@ -3,7 +3,7 @@ def prserv_get_pr_auto(d):
import re
pv = d.getVar("PV", True)
- if d.getVar('USE_PR_SERV', True) != "1":
+ if not d.getVar('PRSERV_HOST', True):
if 'AUTOINC' in pv:
d.setVar("PKGV", pv.replace("AUTOINC", "0"))
bb.warn("Not using network based PR service")