Use pip3 instead of pip in trovestack

Change-Id: Icbbfaa07a699e1280b0d39dfbae87d7468cbb260
This commit is contained in:
Lingxian Kong 2020-09-02 10:11:12 +12:00
parent efc9bae2b9
commit 00a07f2423

View File

@ -752,7 +752,7 @@ function cmd_build_image() {
echo "Ensuring we have all packages needed to build image." echo "Ensuring we have all packages needed to build image."
sudo $HTTP_PROXY $PKG_MGR $PKG_GET_ARGS update sudo $HTTP_PROXY $PKG_MGR $PKG_GET_ARGS update
sudo $HTTP_PROXY $PKG_MGR $PKG_GET_ARGS install qemu git kpartx debootstrap squashfs-tools sudo $HTTP_PROXY $PKG_MGR $PKG_GET_ARGS install qemu git kpartx debootstrap squashfs-tools
sudo -H $HTTP_PROXY pip install diskimage-builder sudo -H $HTTP_PROXY pip3 install diskimage-builder
build_guest_image ${image_guest_os} ${image_guest_release} ${dev_mode} ${guest_username} ${output} build_guest_image ${image_guest_os} ${image_guest_release} ${dev_mode} ${guest_username} ${output}
} }