summaryrefslogtreecommitdiff
path: root/classes/package.bbclass
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-10-23 10:04:28 +0200
committerKoen Kooi <koen@openembedded.org>2008-10-23 10:04:28 +0200
commita1fe56a1aa249ee94df6d67f58df6c87a1d0b2d9 (patch)
tree2db15ad33b09ffda18aa6635badc326c3bd00717 /classes/package.bbclass
parent6338d28533ca582e225967d7477c7393bbfdb814 (diff)
package bbclass: add missing 'import bb'
Diffstat (limited to 'classes/package.bbclass')
-rw-r--r--classes/package.bbclass1
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)