diff options
Diffstat (limited to 'meta/classes/package.bbclass')
-rw-r--r-- | meta/classes/package.bbclass | 4 |
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 | ||
416 | LOCALEBASEPN ??= "${PN}" | 420 | LOCALEBASEPN ??= "${PN}" |