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 22:11:32 +0000 |
commit | 5674a08ca57efd11471dd5c7c54b60ea0a22c841 (patch) | |
tree | 70c0456560e562a95e295d6c949584d242e1e5d0 /meta/recipes-core | |
parent | 8fc9d8e9a6321136ff1dd5f8ffc3d489ba0d4643 (diff) | |
download | poky-5674a08ca57efd11471dd5c7c54b60ea0a22c841.tar.gz |
build-appliance-image: use pip3-native
Do not rely on pip3 being installed on the host.
Use pip3-native instead.
[YOCTO#10909]
[YOCTO#11022]
(From OE-Core rev: 0c349f06b6b026e9bbd3e9a8188e3d8645fd00d9)
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" | |||
18 | # Do a quiet boot with limited console messages | 18 | # Do a quiet boot with limited console messages |
19 | APPEND += "rootfstype=ext4 quiet" | 19 | APPEND += "rootfstype=ext4 quiet" |
20 | 20 | ||
21 | DEPENDS = "zip-native" | 21 | DEPENDS = "zip-native python3-pip-native" |
22 | IMAGE_FSTYPES = "vmdk" | 22 | IMAGE_FSTYPES = "vmdk" |
23 | 23 | ||
24 | inherit core-image module-base | 24 | inherit core-image module-base setuptools3 |
25 | 25 | ||
26 | SRCREV ?= "8343ed93c4278715aa1582d3cadedf8f197b4089" | 26 | SRCREV ?= "8343ed93c4278715aa1582d3cadedf8f197b4089" |
27 | SRC_URI = "git://git.yoctoproject.org/poky;branch=master \ | 27 | SRC_URI = "git://git.yoctoproject.org/poky;branch=master \ |
@@ -95,6 +95,8 @@ fakeroot do_populate_poky_src () { | |||
95 | echo 'gtk-theme-name = "Clearlooks"' > ${IMAGE_ROOTFS}/etc/gtk-2.0/gtkrc | 95 | echo 'gtk-theme-name = "Clearlooks"' > ${IMAGE_ROOTFS}/etc/gtk-2.0/gtkrc |
96 | 96 | ||
97 | # Install modules needed for toaster | 97 | # Install modules needed for toaster |
98 | export STAGING_LIBDIR=${STAGING_LIBDIR_NATIVE} | ||
99 | export STAGING_INCDIR=${STAGING_INCDIR_NATIVE} | ||
98 | export HOME=${IMAGE_ROOTFS}/home/builder | 100 | export HOME=${IMAGE_ROOTFS}/home/builder |
99 | mkdir -p ${IMAGE_ROOTFS}/home/builder/.cache/pip | 101 | mkdir -p ${IMAGE_ROOTFS}/home/builder/.cache/pip |
100 | pip3 install --user -I -U -v -r ${IMAGE_ROOTFS}/home/builder/poky/bitbake/toaster-requirements.txt | 102 | pip3 install --user -I -U -v -r ${IMAGE_ROOTFS}/home/builder/poky/bitbake/toaster-requirements.txt |