diff options
| -rw-r--r-- | meta/classes/package.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index b06cca5f57..8609e75354 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass | |||
| @@ -418,9 +418,9 @@ python package_get_auto_pr() { | |||
| 418 | return | 418 | return |
| 419 | d.setVar('PRAUTO',str(auto_pr)) | 419 | d.setVar('PRAUTO',str(auto_pr)) |
| 420 | else: | 420 | else: |
| 421 | pv = d.getVar("PV", True) | 421 | pkgv = d.getVar("PKGV", True) |
| 422 | if 'AUTOINC' in pv: | 422 | if 'AUTOINC' in pkgv: |
| 423 | d.setVar("PKGV", pv.replace("AUTOINC", "0")) | 423 | d.setVar("PKGV", pkgv.replace("AUTOINC", "0")) |
| 424 | } | 424 | } |
| 425 | 425 | ||
| 426 | LOCALEBASEPN ??= "${PN}" | 426 | LOCALEBASEPN ??= "${PN}" |
