Merge pull request #2 from BDouze/yunohost-buster
Work-around curl ssl certificates issue
This commit is contained in:
commit
382e870efd
1 changed files with 7 additions and 0 deletions
|
@ -26,6 +26,13 @@ on_chroot << EOF
|
||||||
update-ca-certificates -f -v
|
update-ca-certificates -f -v
|
||||||
EOF
|
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
|
# Run the actual install
|
||||||
on_chroot << EOF
|
on_chroot << EOF
|
||||||
apt-get install insserv resolvconf -y
|
apt-get install insserv resolvconf -y
|
||||||
|
|
Loading…
Reference in a new issue