From patchwork Fri Feb 23 01:48:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rosen Penev X-Patchwork-Id: 876958 X-Patchwork-Delegate: blogic@openwrt.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="t/slfBvb"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Nudo8jAy"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3znZ0V4mQjz9s02 for ; Fri, 23 Feb 2018 12:49:46 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Subject:Message-Id: Date:To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=oQeCJpAjz1CzrTre0Pg8KYiRRtHDW+lrscbEji7Zaro=; b=t/slfBvbAgRer6 Tc6G2Na+AaNYkrbiQVNUcdNME0kYAiiBdu3wa9UNSto4qqRNn3XUT9O0Rwh9Kt7aOGRLd32w7LGEd zeEmfu8lGjKl+BsicmEY49m8McttdrJMSvLWbpxIzf4zKfXyzjIJ9serOMFM6lHtiOW691OLLzvC9 nrCiZkVKby2u+qBlr5dcA90uhU3MeYNYP0xaeP/ko2fBdaycS45QZumpAmq0t2uNq4hgfrl1zE/Xh v2EBmw6MNg6azlc4Q7Z3uoLDaIrbqA3ffP6rDvi7vfnhBVJsycE8LuMlWef8dytq5/HJ9SIVpr2KS lRQqHwUTCqmjq7uan0Zg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1ep2U9-0005sA-Ge; Fri, 23 Feb 2018 01:49:17 +0000 Received: from mail-pl0-x243.google.com ([2607:f8b0:400e:c01::243]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ep2U5-0005qe-Ca for lede-dev@lists.infradead.org; Fri, 23 Feb 2018 01:49:15 +0000 Received: by mail-pl0-x243.google.com with SMTP id v9-v6so2002381plp.12 for ; Thu, 22 Feb 2018 17:49:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=wI9RYrz7SkRB/HhqOtHCG0YwPMkU0FYoqQ61S6TfwRY=; b=Nudo8jAy6zC1nLljwqGC4G2bbqD6P/LsPnbkO6AkSIfFx4wzufsPVa4u5kJY371uyy NcCjjH4KSymZX6LMm5FS4WzrMu9S+VWGTi2SuYX/LNpkm4usAaqemKu/Ozdz7lDeUO5K jwoOUfbtq20ezd156TeAxF25L4vi58psCPc1MWj9U18ZyxZWWwlB5Jl/cDG5CJhSR4yk P9GcMblQr2chJ5WyaSSu+86KZ0NQcvOHFdobOo4cfIcIngboPXLueHv4zOlp+xnDHFeA QMOQqTDL+E2eaZhDWm0kQkU3TKK6X4fz4rgWoI6Lq+BE0Dov5aPucLperumuO3htTvF6 zIvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=wI9RYrz7SkRB/HhqOtHCG0YwPMkU0FYoqQ61S6TfwRY=; b=fDV9yyVU2izcOnrhYvO+9V480WtfDBrloydxSwR9cOfuxBRUCcbkfkNKzCwFDXrFQm w6Z0w3lePkU8ZuwgVDlTRbApmvTrKMVtyZ5hWxWsh9AQud4MMOsDCibjCmEFVdD2ua9s bzYQtk85Ng/LMHz7cZbjxfxfqpUW4oq8m0BcLdMZ4YwOHN8gZLYaeY+Sjs/Gx55+K42o v0vc5EuIuCAFcH9oP1DFJ5fjVQqvaJjy+V+JDuS/I6AKlyoYriBIbiyzxRxRSKK8A/SZ W0faB9WcSimnest133edaGsEWiADC9VDwm4lrz2XKmjrDzoU4KWnndB8J5+FAFShBUsL zf7A== X-Gm-Message-State: APf1xPBOjsRBJpcYhK69nRXw1I0OOJLzv/WtRLCTsriHDHS/pI9/bKVd dNIq3RHmlx+87vYDrPBPtx7IDs5A X-Google-Smtp-Source: AH8x227DTbxq2BtyY2W+9i2tORnSy3LL8Xvm669XMnkB4OdkEjdChCRc1VNIGhVITwjvMEgM/pP8dg== X-Received: by 2002:a17:902:1a4:: with SMTP id b33-v6mr27788plb.321.1519350541679; Thu, 22 Feb 2018 17:49:01 -0800 (PST) Received: from mangix.lan (76-14-105-72.rk.wavecable.com. [76.14.105.72]) by smtp.gmail.com with ESMTPSA id d124sm1871840pfc.83.2018.02.22.17.49.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 22 Feb 2018 17:49:00 -0800 (PST) From: Rosen Penev To: lede-dev@lists.infradead.org Date: Thu, 22 Feb 2018 17:48:58 -0800 Message-Id: <20180223014858.6553-1-rosenp@gmail.com> X-Mailer: git-send-email 2.14.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180222_174913_545804_C7C000F6 X-CRM114-Status: UNSURE ( 8.88 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-2.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [2607:f8b0:400e:c01:0:0:0:243 listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (rosenp[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Subject: [LEDE-DEV] [PATCH] uboot-envtools: Change download to git. X-BeenThere: lede-dev@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rosen Penev MIME-Version: 1.0 Sender: "Lede-dev" Errors-To: lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Currently, the build system uses an openwrt mirror which does not currently workand FTP can be unreliable under several circumstances (Ubuntu 16.04 WSL being an example). This change implicitly allows using all the mirrors to download. Changing this to git also allows using .tar.xz archives which are smaller. Size difference: 10416503 u-boot-2015.10.tar.bz2 8351456 u-boot-2015.10.tar.xz Signed-off-by: Rosen Penev --- package/boot/uboot-envtools/Makefile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/package/boot/uboot-envtools/Makefile b/package/boot/uboot-envtools/Makefile index 57a2ec5393..4d2cd342aa 100644 --- a/package/boot/uboot-envtools/Makefile +++ b/package/boot/uboot-envtools/Makefile @@ -12,12 +12,13 @@ PKG_DISTNAME:=u-boot PKG_VERSION:=2015.10 PKG_RELEASE:=1 -PKG_BUILD_DIR:=$(BUILD_DIR)/u-boot-$(PKG_VERSION) -PKG_SOURCE:=$(PKG_DISTNAME)-$(PKG_VERSION).tar.bz2 -PKG_SOURCE_URL:=\ - http://mirror2.openwrt.org/sources \ - ftp://ftp.denx.de/pub/u-boot -PKG_HASH:=bdc68d5f9455ad933b059c735d983f2c8b6b552dafb062e5ff1444f623021955 +PKG_SOURCE_PROTO:=git +PKG_SOURCE:=$(PKG_DISTNAME)-$(PKG_VERSION).tar.xz +PKG_SOURCE_SUBDIR:=$(PKG_DISTNAME)-$(PKG_VERSION) +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_DISTNAME)-$(PKG_VERSION) +PKG_SOURCE_URL:=https://github.com/u-boot/u-boot +PKG_SOURCE_VERSION:=5ec0003b19cbdf06ccd6941237cbc0d1c3468e2d +PKG_MIRROR_HASH:=e207d996ebfff7335eed99789e3dcb9da071499f347fcdd86725b9d4dac5a5bb PKG_BUILD_DEPENDS:=fstools