diff options
author | Juro Bystricky <juro.bystricky@intel.com> | 2017-03-15 15:13:36 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-16 17:36:10 +0000 |
commit | 0c349f06b6b026e9bbd3e9a8188e3d8645fd00d9 (patch) | |
tree | c640732068cbfdbd3f0dc53032d8272153a437e8 /meta/recipes-core | |
parent | cb2073658305b605cccc60439b62c1dc515d9a8d (diff) | |
download | openembedded-core-0c349f06b6b026e9bbd3e9a8188e3d8645fd00d9.tar.gz openembedded-core-0c349f06b6b026e9bbd3e9a8188e3d8645fd00d9.tar.bz2 openembedded-core-0c349f06b6b026e9bbd3e9a8188e3d8645fd00d9.zip |
build-appliance-image: use pip3-native
Do not rely on pip3 being installed on the host.
Use pip3-native instead.
[YOCTO#10909]
[YOCTO#11022]
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/images/build-appliance-image_15.0.0.bb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-core/images/build-appliance-image_15.0.0.bb b/meta/recipes-core/images/build-appliance-image_15.0.0.bb index 0db1fb0b38..730989e12a 100644 --- a/meta/recipes-core/images/build-appliance-image_15.0.0.bb +++ b/meta/recipes-core/images/build-appliance-image_15.0.0.bb @@ -18,10 +18,10 @@ IMAGE_ROOTFS_EXTRA_SPACE = "41943040" # Do a quiet boot with limited console messages APPEND += "rootfstype=ext4 quiet" -DEPENDS = "zip-native" +DEPENDS = "zip-native python3-pip-native" IMAGE_FSTYPES = "vmdk" -inherit core-image module-base +inherit core-image module-base setuptools3 SRCREV ?= "8343ed93c4278715aa1582d3cadedf8f197b4089" SRC_URI = "git://git.yoctoproject.org/poky;branch=master \ @@ -95,6 +95,8 @@ fakeroot do_populate_poky_src () { echo 'gtk-theme-name = "Clearlooks"' > ${IMAGE_ROOTFS}/etc/gtk-2.0/gtkrc # Install modules needed for toaster + export STAGING_LIBDIR=${STAGING_LIBDIR_NATIVE} + export STAGING_INCDIR=${STAGING_INCDIR_NATIVE} export HOME=${IMAGE_ROOTFS}/home/builder mkdir -p ${IMAGE_ROOTFS}/home/builder/.cache/pip pip3 install --user -I -U -v -r ${IMAGE_ROOTFS}/home/builder/poky/bitbake/toaster-requirements.txt |