I am trying to use Arch Linux aarch64 on my android phone with Linuxdeploy. I created an image file for rootfs, mounted it and installed the base system using pacstrap. I then unmounted the image, transfered it to my phone, and chrooted in it using Linuxdeploy. The problem is, when I try to, for example, use curl over https, I get the following error:
$this->bbcode_second_pass_code('', 'curl: (77) error setting certificate verify locations:
CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none')
The file /etc/ssl/certs/ca-certificates.crt does not, indeed, exist in my system. I tried reinstalling ca-certificates and ca-certificates-utils, but nothing has changed. That file is present in my x86_64 Arch linux installation, and it is a symlink to /etc/ca-certificates/extracted/tls-ca-bundle.pem, although both files do not belong to any package. I created the missing symlink, and it solved the problem, but now I am curious what caused it in the first place?