[Buildroot] [PATCH 22/22] dependencies: check that SSL certificates are installed

Peter Korsgaard jacmet at uclibc.org
Sun Mar 24 13:00:22 UTC 2013


>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:

 Thomas> Some packages are hosted on https:// servers, and wget only works on
 Thomas> these if the SSL certificates are installed. For example, downloading
 Thomas> the kernel sources from kernel.org requires those SSL certificates to
 Thomas> be installed.

 Thomas> Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
 Thomas> ---
 Thomas>  support/dependencies/dependencies.sh |    9 +++++++++
 Thomas>  1 file changed, 9 insertions(+)

 Thomas> diff --git a/support/dependencies/dependencies.sh b/support/dependencies/dependencies.sh
 Thomas> index 5fb4c19..9ee63b5 100755
 Thomas> --- a/support/dependencies/dependencies.sh
 Thomas> +++ b/support/dependencies/dependencies.sh
 Thomas> @@ -199,4 +199,13 @@ if ! perl  -e "require Data::Dumper" > /dev/null 2>&1 ; then
 Thomas>      /bin/echo -e "Your Perl installation is not complete enough, at least Data::Dumper is missing."
 Thomas>      /bin/echo -e "On Debian/Ubuntu distributions, install the 'perl' package."
 Thomas>      exit 1
 Thomas> +fi
 Thomas> +
 Thomas> +# Check that we have the SSL certificates to make https:// downloads
 Thomas> +# work.
 Thomas> +if ! test -d /etc/ssl/certs; then

I don't know if all distributions install them here, hopefully they do.

 Thomas> +    /bin/echo -e "Your system lacks Common CA certificates for SSL."
 Thomas> +    /bin/echo -e "This prevents https:// downloads from suceeding."

s/suceeding/succeeding/

Committed with that fixed, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list