diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2007-07-29 22:20:41 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2007-07-29 22:20:41 +0000 |
commit | 4d57b6bc2f95d8f569db46aa9fb6e02540aa7e46 (patch) | |
tree | b3a762984a54fefd8e63b32202c1a8a191e0c849 | |
parent | f6310c4e838b88abe092d1f8a85881d767aa52be (diff) |
image.bbclass: Use system python explicitly, don't use python-native version
-rw-r--r-- | classes/image.bbclass | 2 | ||||
-rw-r--r-- | conf/bitbake.conf | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/classes/image.bbclass b/classes/image.bbclass index 5f1dfa2dce..05bc9d669b 100644 --- a/classes/image.bbclass +++ b/classes/image.bbclass @@ -91,7 +91,7 @@ fakeroot do_rootfs () { if test -z "$FAKEROOTKEY"; then fakeroot -i ${TMPDIR}/fakedb.image 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}/ diff --git a/conf/bitbake.conf b/conf/bitbake.conf index 328125e0b4..e305dc3251 100644 --- a/conf/bitbake.conf +++ b/conf/bitbake.conf @@ -246,6 +246,7 @@ export RANLIB = "${HOST_PREFIX}ranlib" export STRIP = "${HOST_PREFIX}strip" export OBJCOPY = "${HOST_PREFIX}objcopy" export OBJDUMP = "${HOST_PREFIX}objdump" +PYTHON = "${@sys.executable}" export BUILD_CC = "${CCACHE}${BUILD_PREFIX}gcc ${BUILD_CC_ARCH}" export BUILD_CXX = "${CCACHE}${BUILD_PREFIX}g++ ${BUILD_CC_ARCH}" |