Hace nada os comentaba cómo instalar Git en nuestro Omega 2+.
Si lo hicisteis e intentasteis empezar a trabajar, clonando un repositorio desde git-hub, por ejemplo, seguramente os disteis cuenta de que “faltaba algo”:
root@Omega-ABCD:~/projects# git clone https://github.com/linnovate/mean.git Cloning into 'mean'... fatal: unable to access 'https://github.com/linnovate/mean.git/': Error reading ca cert file /etc/ssl/certs/ca-certificates.crt - mbedTLS: (-0x3E00) PK - Read/write of file failed
En este caso, estaba intentando clonar el repositorio de mean.io, y no he podido porque nos hace falta la configuración de los certificados en nuestro Omega.
Para ello, simplemente debemos actualizar el sistema e instalar el package ca-bundle.
Actualizamos el repositorio:
root@Omega-ABCD:~/projects# opkg update Downloading http://repo.onion.io/omega2/packages/core/Packages.gz Updated list of available packages in /var/opkg-lists/omega2_core Downloading http://repo.onion.io/omega2/packages/core/Packages.sig Signature check passed. Downloading http://repo.onion.io/omega2/packages/base/Packages.gz Updated list of available packages in /var/opkg-lists/omega2_base Downloading http://repo.onion.io/omega2/packages/base/Packages.sig Signature check passed. Downloading http://repo.onion.io/omega2/packages/packages/Packages.gz Updated list of available packages in /var/opkg-lists/omega2_packages Downloading http://repo.onion.io/omega2/packages/packages/Packages.sig Signature check passed. Downloading http://repo.onion.io/omega2/packages/onion/Packages.gz Updated list of available packages in /var/opkg-lists/omega2_onion Downloading http://repo.onion.io/omega2/packages/onion/Packages.sig Signature check passed.
E instalamos el paquete:
root@Omega-ABCD:~/projects# opkg install ca-bundle Installing ca-bundle (20161130+nmu1) to root... Downloading http://repo.onion.io/omega2/packages/base/ca-bundle_20161130+nmu1_all.ipk Configuring ca-bundle.
Ahora ya podemos acceder a git y clonar nuestro repositorio…
Espero que os haya sido de utilidad.
Jordi