From patchwork Sun Mar 24 08:26:46 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 230398 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id C76BD2C0091 for ; Sun, 24 Mar 2013 19:29:35 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 494CD101ED6; Sun, 24 Mar 2013 08:29:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IPuwZVGoofTc; Sun, 24 Mar 2013 08:29:12 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id A424A10B8EE; Sun, 24 Mar 2013 08:28:01 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id EE8C38F7A4 for ; Sun, 24 Mar 2013 08:27:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 8FE8CA00E2 for ; Sun, 24 Mar 2013 08:27:28 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vVQWKZTLwGVv for ; Sun, 24 Mar 2013 08:27:27 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.free-electrons.com (mail.free-electrons.com [94.23.35.102]) by hemlock.osuosl.org (Postfix) with ESMTP id B3364A009B for ; Sun, 24 Mar 2013 08:27:27 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 106) id 706B2864; Sun, 24 Mar 2013 09:27:26 +0100 (CET) Received: from localhost (humanoidz.org [82.247.183.72]) by mail.free-electrons.com (Postfix) with ESMTPSA id 77DA373F for ; Sun, 24 Mar 2013 09:27:25 +0100 (CET) From: Thomas Petazzoni To: buildroot@uclibc.org Date: Sun, 24 Mar 2013 09:26:46 +0100 Message-Id: <1364113606-20836-23-git-send-email-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1364113606-20836-1-git-send-email-thomas.petazzoni@free-electrons.com> References: <1364113606-20836-1-git-send-email-thomas.petazzoni@free-electrons.com> Subject: [Buildroot] [PATCH 22/22] dependencies: check that SSL certificates are installed X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Some packages are hosted on https:// servers, and wget only works on these if the SSL certificates are installed. For example, downloading the kernel sources from kernel.org requires those SSL certificates to be installed. Signed-off-by: Thomas Petazzoni --- support/dependencies/dependencies.sh | 9 +++++++++ 1 file changed, 9 insertions(+) \ No newline at end of file diff --git a/support/dependencies/dependencies.sh b/support/dependencies/dependencies.sh index 5fb4c19..9ee63b5 100755 --- a/support/dependencies/dependencies.sh +++ b/support/dependencies/dependencies.sh @@ -199,4 +199,13 @@ if ! perl -e "require Data::Dumper" > /dev/null 2>&1 ; then /bin/echo -e "Your Perl installation is not complete enough, at least Data::Dumper is missing." /bin/echo -e "On Debian/Ubuntu distributions, install the 'perl' package." exit 1 +fi + +# Check that we have the SSL certificates to make https:// downloads +# work. +if ! test -d /etc/ssl/certs; then + /bin/echo -e "Your system lacks Common CA certificates for SSL." + /bin/echo -e "This prevents https:// downloads from suceeding." + /bin/echo -e "On Debian/Ubuntu distributions, install 'ca-certificates' package." + exit 1 fi