diff options
Diffstat (limited to 'meta/classes/prserv.bbclass')
-rw-r--r-- | meta/classes/prserv.bbclass | 2 |
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): | |||
3 | import re | 3 | import re |
4 | 4 | ||
5 | pv = d.getVar("PV", True) | 5 | pv = d.getVar("PV", True) |
6 | if d.getVar('USE_PR_SERV', True) != "1": | 6 | if not d.getVar('PRSERV_HOST', True): |
7 | if 'AUTOINC' in pv: | 7 | if 'AUTOINC' in pv: |
8 | d.setVar("PKGV", pv.replace("AUTOINC", "0")) | 8 | d.setVar("PKGV", pv.replace("AUTOINC", "0")) |
9 | bb.warn("Not using network based PR service") | 9 | bb.warn("Not using network based PR service") |