From aa3a359473ec4db6ca1511442105bcf3ce1168aa Mon Sep 17 00:00:00 2001 From: saifullah-N Date: Mon, 6 Feb 2023 12:13:41 +0530 Subject: [PATCH] Fix SSL certificate issue with mirror --- scripts/gplan-init-dev-img.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/scripts/gplan-init-dev-img.sh b/scripts/gplan-init-dev-img.sh index cfa9d4e..e9ca447 100755 --- a/scripts/gplan-init-dev-img.sh +++ b/scripts/gplan-init-dev-img.sh @@ -3,9 +3,6 @@ export LC_ALL=C cd /mnt/host -# Update the system -apt-get update -#apt-get dist-upgrade -y - +apt -o "Acquire::https::Verify-Peer=false" update # Install packages -apt-get install -y scons build-essential libssl-dev python3-dev +apt -o "Acquire::https::Verify-Peer=false" install -y scons build-essential libssl-dev python3-dev