[oe-commits] Koen Kooi : package bbclass: add missing 'import bb'
GIT User account
git at amethyst.openembedded.net
Thu Oct 23 17:33:05 UTC 2008
Module: openembedded.git
Branch: stefan/xo-support
Commit: a1fe56a1aa249ee94df6d67f58df6c87a1d0b2d9
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=a1fe56a1aa249ee94df6d67f58df6c87a1d0b2d9
Author: Koen Kooi <koen at openembedded.org>
Date: Thu Oct 23 10:04:28 2008 +0200
package bbclass: add missing 'import bb'
---
classes/package.bbclass | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/classes/package.bbclass b/classes/package.bbclass
index 15574f6..fd72a6d 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)
More information about the Openembedded-commits
mailing list