diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/package.bbclass | 2 | ||||
-rw-r--r-- | meta/classes/prserv.bbclass | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index a1b948276..1e6a87255 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass @@ -330,7 +330,7 @@ def runtime_mapping_rename (varname, d): # python package_get_auto_pr() { - if d.getVar('USE_PR_SERV', True): + if d.getVar('USE_PR_SERV', True) != "0": auto_pr=prserv_get_pr_auto(d) if auto_pr is None: bb.fatal("Can NOT get auto PR revision from remote PR service") diff --git a/meta/classes/prserv.bbclass b/meta/classes/prserv.bbclass index de46ff689..18b8589a7 100644 --- a/meta/classes/prserv.bbclass +++ b/meta/classes/prserv.bbclass @@ -12,7 +12,7 @@ def prserv_make_conn(d): return conn def prserv_get_pr_auto(d): - if not d.getVar('USE_PR_SERV', True): + if d.getVar('USE_PR_SERV', True) != "0": bb.warn("Not using network based PR service") return None |