image.bbclass: Fix other bbimage refernce
authorRichard Purdie <rpurdie@rpsys.net>
Sun, 29 Jul 2007 22:41:37 +0000 (22:41 +0000)
committerRichard Purdie <rpurdie@rpsys.net>
Sun, 29 Jul 2007 22:41:37 +0000 (22:41 +0000)
classes/image.bbclass

index 05bc9d6..101b533 100644 (file)
@@ -89,7 +89,7 @@ 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
                        ${PYTHON} `which bbimage` -n "${IMAGE_NAME}" -t "$type" -e "${FILE}"
                fi