summaryrefslogtreecommitdiffstats
path: root/meta/classes/package.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/package.bbclass')
-rw-r--r--meta/classes/package.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 3278d37b53..993ce98782 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -411,6 +411,10 @@ python package_get_auto_pr() {
411 bb.fatal("Can NOT get PRAUTO from remote PR service") 411 bb.fatal("Can NOT get PRAUTO from remote PR service")
412 return 412 return
413 d.setVar('PRAUTO',str(auto_pr)) 413 d.setVar('PRAUTO',str(auto_pr))
414 else:
415 pv = d.getVar("PV", True)
416 if 'AUTOINC' in pv:
417 d.setVar("PKGV", pv.replace("AUTOINC", "0"))
414} 418}
415 419
416LOCALEBASEPN ??= "${PN}" 420LOCALEBASEPN ??= "${PN}"