Merge pull request #2 from BDouze/yunohost-buster

Work-around curl ssl certificates issue
This commit is contained in:
Alexandre Aubin 2021-11-30 21:26:54 +01:00 committed by GitHub
commit 382e870efd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,6 +26,13 @@ on_chroot << EOF
update-ca-certificates -f -v
EOF
# For some reason curl still doesnt recognize CA in any cert
# and this is fixed by adding a ~/.curlrc file ...
on_chroot << EOF
echo capath=/etc/ssl/certs/ > /root/.curlrc
echo cacert=/etc/ssl/certs/ca-certificates.crt >> /root/.curlrc
EOF
# Run the actual install
on_chroot << EOF
apt-get install insserv resolvconf -y