diff options
| -rw-r--r-- | meta/recipes-core/images/build-appliance-image_15.0.0.bb | 6 |
1 files changed, 5 insertions, 1 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 db96a051a7..cd96a128a8 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 | |||
| @@ -100,7 +100,11 @@ fakeroot do_populate_poky_src () { | |||
| 100 | export STAGING_INCDIR=${STAGING_INCDIR_NATIVE} | 100 | export STAGING_INCDIR=${STAGING_INCDIR_NATIVE} |
| 101 | export HOME=${IMAGE_ROOTFS}/home/builder | 101 | export HOME=${IMAGE_ROOTFS}/home/builder |
| 102 | mkdir -p ${IMAGE_ROOTFS}/home/builder/.cache/pip | 102 | mkdir -p ${IMAGE_ROOTFS}/home/builder/.cache/pip |
| 103 | pip3 install --user -I -U -v -r ${IMAGE_ROOTFS}/home/builder/poky/bitbake/toaster-requirements.txt | 103 | pip3_install_params="--user -I -U -v -r ${IMAGE_ROOTFS}/home/builder/poky/bitbake/toaster-requirements.txt" |
| 104 | if [ -n "${http_proxy}" ]; then | ||
| 105 | pip3_install_params="${pip3_install_params} --proxy ${http_proxy}" | ||
| 106 | fi | ||
| 107 | pip3 install ${pip3_install_params} | ||
| 104 | chown -R builder.builder ${IMAGE_ROOTFS}/home/builder/.local | 108 | chown -R builder.builder ${IMAGE_ROOTFS}/home/builder/.local |
| 105 | chown -R builder.builder ${IMAGE_ROOTFS}/home/builder/.cache | 109 | chown -R builder.builder ${IMAGE_ROOTFS}/home/builder/.cache |
| 106 | } | 110 | } |
