mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 21:32:12 +02:00
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
This commit is contained in:
@@ -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}/
|
||||
|
||||
Reference in New Issue
Block a user