aboutsummaryrefslogtreecommitdiff
path: root/lt-qcom-debian-images/builders-fai.sh
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2022-11-02 08:08:10 +0100
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2022-11-02 08:08:10 +0100
commit23730d80283257578d13af2136e0aab44c42c077 (patch)
tree3749ee72e13053492e91d2384b38ab06ceb60fe8 /lt-qcom-debian-images/builders-fai.sh
parentc2e665e522db4447738b2558d58afd862c686d4f (diff)
lt-qcom-debian-images/builders-fai: include apt-transport-https
Since OBS was retired and moved to r.lo, installing packages (at least with stretch used here) was failing. Change-Id: I6977e597fda650bf298a844a703ad031d3ac0887 Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Diffstat (limited to 'lt-qcom-debian-images/builders-fai.sh')
-rw-r--r--lt-qcom-debian-images/builders-fai.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/lt-qcom-debian-images/builders-fai.sh b/lt-qcom-debian-images/builders-fai.sh
index 9bfe9f018d..23602c6b73 100644
--- a/lt-qcom-debian-images/builders-fai.sh
+++ b/lt-qcom-debian-images/builders-fai.sh
@@ -15,6 +15,12 @@ if ! sudo DEBIAN_FRONTEND=noninteractive apt-get -q=2 update; then
sleep 15
sudo DEBIAN_FRONTEND=noninteractive apt-get -q=2 update || true
fi
+pkg_list="apt-transport-https"
+if ! sudo DEBIAN_FRONTEND=noninteractive apt-get -q=2 install -y ${pkg_list}; then
+ echo "INFO: apt install error - try again in a moment"
+ sleep 15
+ sudo DEBIAN_FRONTEND=noninteractive apt-get -q=2 install -y ${pkg_list}
+fi
pkg_list="python-pip python3-pip python3-setuptools fai-server fai-setup-storage qemu-utils procps mtools pigz zip android-tools-fsutils android-tools-mkbootimg libpython2.7-dev libpython3-dev dosfstools"
if ! sudo DEBIAN_FRONTEND=noninteractive apt-get -q=2 install -y ${pkg_list}; then
echo "INFO: apt install error - try again in a moment"