diff options
| -rw-r--r-- | meta/classes/package.bbclass | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index 65e65715ea..f8f0a12dc1 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass | |||
| @@ -350,6 +350,14 @@ def runtime_mapping_rename (varname, d): | |||
| 350 | # | 350 | # |
| 351 | 351 | ||
| 352 | python package_get_auto_pr() { | 352 | python package_get_auto_pr() { |
| 353 | # per recipe PRSERV_HOST PRSERV_PORT | ||
| 354 | pn = d.getVar('PN', True) | ||
| 355 | host = d.getVar("PRSERV_HOST_" + pn, True) | ||
| 356 | port = d.getVar("PRSERV_PORT_" + pn, True) | ||
| 357 | if not (host is None): | ||
| 358 | d.setVar("PRSERV_HOST", host) | ||
| 359 | if not (port is None): | ||
| 360 | d.setVar("PRSERV_PORT", port) | ||
| 353 | if d.getVar('USE_PR_SERV', True) != "0": | 361 | if d.getVar('USE_PR_SERV', True) != "0": |
| 354 | try: | 362 | try: |
| 355 | auto_pr=prserv_get_pr_auto(d) | 363 | auto_pr=prserv_get_pr_auto(d) |
