From 196b7f534bd22881912d84eb0be9c3ce51a9370e Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Thu, 18 Jun 2020 23:33:35 +0200 Subject: [PATCH] Fix stupid curl issue --- stage3/00-install-yunohost/00-run.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/stage3/00-install-yunohost/00-run.sh b/stage3/00-install-yunohost/00-run.sh index 0915c94..0b4a2d5 100755 --- a/stage3/00-install-yunohost/00-run.sh +++ b/stage3/00-install-yunohost/00-run.sh @@ -15,6 +15,12 @@ rm -f /etc/systemd/network/99-default.link ln -s /dev/null /etc/systemd/network/99-default.link EOF +# For some reason curl doesnt recognize CA in any cert +# and this is fixed by regerating links in /etc/ssl/certs/ ... +on_chroot << EOF +update-ca-certificates -f -v +EOF + # Run the actual install on_chroot << EOF apt-get install insserv resolvconf -y