summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorCliff Brake <cbrake@bec-systems.com>2008-10-24 08:34:22 -0400
committerCliff Brake <cbrake@bec-systems.com>2008-10-24 08:34:22 -0400
commit703cea83a1859db8c18b75a7911dc99f1dc2095a (patch)
treeaa373fca39923837156a6468c13d87a5323b1631 /classes
parent97f239bff818c4836572495c05f983a9fab09202 (diff)
parent8655c6c036a930bd0767efcf512ddb8dd654c6b9 (diff)
Merge commit 'openembedded.org/org.openembedded.dev' into org.openembedded.dev
Diffstat (limited to 'classes')
-rw-r--r--classes/package_ipk.bbclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/classes/package_ipk.bbclass b/classes/package_ipk.bbclass
index 438d4a15da..e0636eef70 100644
--- a/classes/package_ipk.bbclass
+++ b/classes/package_ipk.bbclass
@@ -16,7 +16,7 @@ python package_ipk_install () {
# Warning - this function is not multimachine safe (see stagingdir reference)!
#
- import os, sys
+ import os, sys, bb
pkg = bb.data.getVar('PKG', d, 1)
pkgfn = bb.data.getVar('PKGFN', d, 1)
rootfs = bb.data.getVar('IMAGE_ROOTFS', d, 1)
@@ -118,7 +118,7 @@ package_generate_ipkg_conf () {
}
python do_package_ipk () {
- import sys, re, copy
+ import sys, re, copy, bb
workdir = bb.data.getVar('WORKDIR', d, 1)
if not workdir:
@@ -305,6 +305,7 @@ python () {
}
python do_package_write_ipk () {
+ import bb
packages = bb.data.getVar('PACKAGES', d, True)
if not packages:
bb.debug(1, "No PACKAGES defined, nothing to package")