projects
/
vuplus_openembedded
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6338d28
)
package bbclass: add missing 'import bb'
author
Koen Kooi
<koen@openembedded.org>
Thu, 23 Oct 2008 08:04:28 +0000
(10:04 +0200)
committer
Koen Kooi
<koen@openembedded.org>
Thu, 23 Oct 2008 08:04:28 +0000
(10:04 +0200)
classes/package.bbclass
patch
|
blob
|
history
diff --git
a/classes/package.bbclass
b/classes/package.bbclass
index
15574f6
..
fd72a6d
100644
(file)
--- 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)