diff options
-rw-r--r-- | classes/package.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/package.bbclass b/classes/package.bbclass index 15574f6ced..fd72a6dc6e 100644 --- a/classes/package.bbclass +++ b/classes/package.bbclass @@ -5,6 +5,7 @@ PKGDEST = "${WORKDIR}/install" def build_package_revision(d): + import bb file_pr = bb.data.getVar('PR', d, True) distro_pr = bb.data.getVar('DISTRO_PR', d, True) or "" return "%s%s" % (file_pr, distro_pr) |