]> code.ossystems Code Review - openembedded-core.git/commitdiff
image.bbclass: Ensure the system python is used, not the one in staging
authorRichard Purdie <richard@openedhand.com>
Wed, 1 Aug 2007 11:25:15 +0000 (11:25 +0000)
committerRichard Purdie <richard@openedhand.com>
Wed, 1 Aug 2007 11:25:15 +0000 (11:25 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2250 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/classes/image.bbclass

index cbdc29914e9ce395d905019da6d60f3f9746ebf1..f33108d0943c08dfcac0542aa1f83e5bef38cf74 100644 (file)
@@ -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}/