From patchwork Sun Mar 22 15:21:06 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 453150 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id BC6B2140146 for ; Mon, 23 Mar 2015 02:21:48 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="verification failed; unprotected key" header.d=gmail.com header.i=@gmail.com header.b=w64TeRBJ; dkim-adsp=none (unprotected policy); dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id EC4992F388; Sun, 22 Mar 2015 15:21:47 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yf5msuwE9iNE; Sun, 22 Mar 2015 15:21:45 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 67AA832CA3; Sun, 22 Mar 2015 15:21:28 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 193521C2097 for ; Sun, 22 Mar 2015 15:21:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 151F891606 for ; Sun, 22 Mar 2015 15:21:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sUl98rsUoqq9 for ; Sun, 22 Mar 2015 15:21:18 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com [209.85.212.175]) by whitealder.osuosl.org (Postfix) with ESMTPS id 0BB4191608 for ; Sun, 22 Mar 2015 15:21:18 +0000 (UTC) Received: by wibg7 with SMTP id g7so27204034wib.1 for ; Sun, 22 Mar 2015 08:21:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=bQtwciIc30y259D234uwgnwQ9ILvBsxvPjyQebF/Wxw=; b=w64TeRBJ2iHWPj8k7XNepZTTyLLWF60/mG3kHuRULlNNQP/P6hd7FyW22NsS7TT7oV XskEPVck5btEaMSTdRPZo/kw0Hwf8AU8AG7tudEaZh8ZyesJI6MH9AL3OQ0mn37Ayhgo ZVN6WBRES4yVSEbnqpyrhGQRI3ObdqjR5Jj/igFrBoF2tOiMPTVpvwcAIRnbXTHGWl2h r2rzcDO85rj9ffIOZBxE7yuXaXD0wnKE/++fYe1QDJssKyQFeZOrpp0t1ZkGuROkM6mq fCkeA3x7z4MtYl9qnkA3DGNSM524OYwcGSc2yzwcYFyb+dUdjqmxQ832ai5YRSgPdj1S NzLQ== X-Received: by 10.180.182.67 with SMTP id ec3mr12061787wic.32.1427037676748; Sun, 22 Mar 2015 08:21:16 -0700 (PDT) Received: from gourin.bzh.lan (ns304657.ip-46-105-103.eu. [46.105.103.66]) by mx.google.com with ESMTPSA id 14sm15244710wjv.29.2015.03.22.08.21.15 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 22 Mar 2015 08:21:16 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Sun, 22 Mar 2015 16:21:06 +0100 Message-Id: X-Mailer: git-send-email 1.9.1 In-Reply-To: References: Cc: Thomas Petazzoni , "Yann E. MORIN" Subject: [Buildroot] [PATCH 7/7 v3] support/download: warn when there's no .hash file X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 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" Instead of silently accepting a missing .hash file, print a warning. This can be grepped from a build log, to find packages that still have no hash, with the long-term goal of adding hashes for all packages. Signed-off-by: "Yann E. MORIN" Cc: Thomas Petazzoni Reviewed-by: Samuel Martin --- support/download/check-hash | 1 + 1 file changed, 1 insertion(+) diff --git a/support/download/check-hash b/support/download/check-hash index d200868..82cc750 100755 --- a/support/download/check-hash +++ b/support/download/check-hash @@ -33,6 +33,7 @@ base="${3}" # Does the hash-file exist? if [ -z "${h_file}" -o ! -f "${h_file}" ]; then + printf "WARNING: no hash file for %s\n" "${base}" >&2 exit 0 fi