From patchwork Mon Feb 26 21:25:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rosen Penev X-Patchwork-Id: 878133 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; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="F5o3jYSw"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="rqgHEFL7"; 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 3zqvyq25yCz9s0W for ; Tue, 27 Feb 2018 08:26:27 +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:References: In-Reply-To:Message-Id:Date:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=BfettqUzJHsA+WNWHZ4FI9AUSxkjhOIWNRw8DOoUEG0=; b=F5o3jYSwu7B3DW Ss4uH16v44MPACtDzjMqAWIVOmW6f9hVGQSH6V+z3Hxr8VPNIxlFHREFMS0/LzDVVK+lQeTJA0qnR bb6DyrMBzcG/YHJFEFkLanrA4LTODNlDCGCa+7IurQmqBN4TwOw4JBPncirnsUcW+x/UjNRt9wBzH xY1IN8+/QLJvck9UiYesaw5Xm7OtBWGk7kZOXaFZdbCgC2W5dOTy1hY3WV4zuSqzF14l3dQz3Vjzw uswJkPhpeVyUyj28H5pKUXMA9ozKbVkGkPREMyaXjyq3yMU/bEB9DAcy/KWJacrAGEDBPhyMVZsR2 v6GOM/kA4GVG7XbAY2eg==; 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 1eqQHn-0003lP-Pj; Mon, 26 Feb 2018 21:26:15 +0000 Received: from mail-pg0-x244.google.com ([2607:f8b0:400e:c05::244]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eqQHi-0003VF-Ig for lede-dev@lists.infradead.org; Mon, 26 Feb 2018 21:26:13 +0000 Received: by mail-pg0-x244.google.com with SMTP id l131so6683604pga.2 for ; Mon, 26 Feb 2018 13:26:00 -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:in-reply-to:references; bh=Tx1pnELJ/P6z5wxy+fgqeivwDqUaan07LGEkIOVJ5ec=; b=rqgHEFL7MpIltLegEFURqM/Tp0Ni/GarzOI28VhAaquUDKuahKo8hvrMwZUrTXhQo7 Uw/zsHM56JSY3KwkN6nBrdW+pc0wGtqr+qXP1WbEtj/odvnQwy4jV6sJ7s0PrPBuKJfa UoTsRJjxGP1uub9PhSNJnnakWuY+1R6KGwJp/Y03UI+nC20k1m2eLHeibuWbPw16n5b9 c9KaCvbcg3MxNyO2E58fI5CiwoyhYcHd1DbG8JivybyvKfLb3xoljxMSbLYR8xdwpeXN 96xoaCIsg8NV2J35YVeIDwA0ZKjvJqgvZXQJOTm8YJzHsb1cUhaduCoujSwsrYqi0Ogw NnrA== 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:in-reply-to :references; bh=Tx1pnELJ/P6z5wxy+fgqeivwDqUaan07LGEkIOVJ5ec=; b=p5pfibUkJbuV4C8QpN1iKTLX8TluvCWgEgTjscNBL7Y1QnCMOzeO7zNqS3agB84rrS 0iDU41gbmbQbB7gstTXMvlmJ2UzCKkq4RP3boDT+kPAvn4YAkWX478TDxYB1BJF4pw8K AeUli17fsMo6DZ6Xs16TeuywGv0vXLumIVyDYFJ2EGZTp3xDtMbpZ4ReKKdBgishVD5c 8507G2Xz75Wzlzi8z3FT8OV2eS5D/49a7cWBfA3bHPNzGGCOh8g1MRkV8uqjOB24uODv yLXJHKiSD+4M43Ih0MIsxvKZvBVcaNbyi0J1SBh6VuLtV2f9llo+67TKnvqpBJLYxIcd PPfA== X-Gm-Message-State: APf1xPA5x9iQVtmIy4u86HJ+/lZgVW3WRkwTcfzn4kQGwoIBgMHJci9J 8FK/ClWf5vLtceoeq1W2odPeH1jz X-Google-Smtp-Source: AH8x226xC4P6iDVYy+qDyu+hScRvqQj+QkNDCeVeaCv2WhMhvP3CYQ7nUkBBbE7usoM8UDALxSm+JA== X-Received: by 10.101.90.203 with SMTP id d11mr9374079pgt.366.1519680359217; Mon, 26 Feb 2018 13:25:59 -0800 (PST) Received: from mangix.lan (76-14-105-72.rk.wavecable.com. [76.14.105.72]) by smtp.gmail.com with ESMTPSA id w23sm18659043pfk.10.2018.02.26.13.25.58 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 26 Feb 2018 13:25:58 -0800 (PST) From: Rosen Penev To: lede-dev@lists.infradead.org Date: Mon, 26 Feb 2018 13:25:53 -0800 Message-Id: <20180226212553.3861-1-rosenp@gmail.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180223014858.6553-1-rosenp@gmail.com> References: <20180223014858.6553-1-rosenp@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180226_132610_819564_01775D36 X-CRM114-Status: UNSURE ( 9.49 ) 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:c05:0:0:0:244 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_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 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 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 v2: Change git URL from GitHub to official mirror. --- 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..ba6bae6cfe 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:=git://git.denx.de/u-boot.git +PKG_SOURCE_VERSION:=5ec0003b19cbdf06ccd6941237cbc0d1c3468e2d +PKG_MIRROR_HASH:=e207d996ebfff7335eed99789e3dcb9da071499f347fcdd86725b9d4dac5a5bb PKG_BUILD_DEPENDS:=fstools