summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-08-01 11:25:15 +0000
committerRichard Purdie <richard@openedhand.com>2007-08-01 11:25:15 +0000
commitef8532ad2ee1d4715755ea8c11410bb656cf7e5a (patch)
treeaafd82cf9ff024be5b96cf307f1f831c29c24bc2
parent09e3f98f7e64fe07159b6326bfcf586e29c59b46 (diff)
downloadopenembedded-core-ef8532ad2ee1d4715755ea8c11410bb656cf7e5a.tar.gz
openembedded-core-ef8532ad2ee1d4715755ea8c11410bb656cf7e5a.tar.bz2
openembedded-core-ef8532ad2ee1d4715755ea8c11410bb656cf7e5a.tar.xz
openembedded-core-ef8532ad2ee1d4715755ea8c11410bb656cf7e5a.zip
image.bbclass: Ensure the system python is used, not the one in staging
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2250 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/classes/image.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index cbdc29914..f33108d09 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -70,9 +70,9 @@ fakeroot do_rootfs () {
for type in ${IMAGE_FSTYPES}; do
if test -z "$FAKEROOTKEY"; then
- fakeroot -i ${TMPDIR}/fakedb.image bbimage -t $type -e ${FILE}
+ fakeroot -i ${TMPDIR}/fakedb.image ${PYTHON} `which bbimage` -t $type -e ${FILE}
else
- bbimage -n "${IMAGE_NAME}" -t "$type" -e "${FILE}"
+ ${PYTHON} `which bbimage` -n "${IMAGE_NAME}" -t "$type" -e "${FILE}"
fi
cd ${DEPLOY_DIR_IMAGE}/