From patchwork Fri Mar 16 00:26:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rosen Penev X-Patchwork-Id: 886570 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="OUEzZLdk"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="aptgQmkr"; 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 402R9K6YlFz9sVp for ; Fri, 16 Mar 2018 11:27:01 +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=IM4XiDtHnuTPkuul1lcuLjqg+t0m8QvoAFuq3qDVxsk=; b=OUEzZLdkls5NwG VD41q//nnBObrU+695JHaPEUV1MK7Mh0jYBU6h4NDAI4PaiZuUUGv3jpnGqjOhgCdLQP6mENXsvkE v06va7JW32PD4MwRQ1hnafrP562HYakbCUOmGx9OYmezEBZxafx3ybXE4betfdpyAPqGM/35mNZxy B19irSLcLU1Uf/G4cwJmYmzR9/MZIdi7FxStszU9AwD4v0p8wL1YdAGpjWkH/+pG3Askuvd5VtGJU tzEACpUwP8+GDIG6eVitJN6B3wX/8GUosEDH1tmW/Wfr+v3jmhPtjdBgBnuRkcUbx5Ys8bEYRlbIW YVeAeIYdMUyKHOB/PDDQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1ewdCs-000251-5W; Fri, 16 Mar 2018 00:26:50 +0000 Received: from mail-pg0-x242.google.com ([2607:f8b0:400e:c05::242]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1ewdCn-00023D-P2 for lede-dev@lists.infradead.org; Fri, 16 Mar 2018 00:26:47 +0000 Received: by mail-pg0-x242.google.com with SMTP id e3so3424709pga.6 for ; Thu, 15 Mar 2018 17:26:35 -0700 (PDT) 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=QMCJ91ydNvy6oQH+HsOsHnA5G49UcG5H7eS08h8lEoY=; b=aptgQmkrs+wPhC0+SHQVYzinG1/KupKawJccD3LDllst6sdc07YwOFKI53PsL6IaDv H0KkCWNft2z5u26yd9MDlBqVh1ETP18IqkZOA03LR9KvKkngsMmA3p810LcaVYjC+gQS pbshOPF5L0sgnro+GG+dIdow3YiqD5/buOySy55dnHfXV8NxcCSX03ARTBDp77Gy+ANk yD5H51dI/Ie4u8Ev/hUy57IvsN8lIE4tZ/k3hUA6N1lm8gUlRX+sClgfgwoCe0qvtjdw T4aoT7MCPGGtEUQ7cMlXlemnJAlGRhZcSxA2e5jN7Zm+AHT94Uoq00Wie9kmETRKDShJ QpHA== 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=QMCJ91ydNvy6oQH+HsOsHnA5G49UcG5H7eS08h8lEoY=; b=MrZlOCs+HWBNt4sYeKHpie4YzOfejjybwopI7NEN85bJ7wU2xlUBdf0LVz5ADI16J8 FpmLtKNpNi63efFsrpotHJxCuw+oTieLYaWEJ95AXiaIe47em96sltAWt88QRbNsIO1g XH4J0XVub6R8nOvc4J/oPEX6CaGdllW46Z7gTxdCoFTSo/rwS6apOLcd24j4xn85mYsp 0DK2qYzbulXIflkr4W8102V+J0m2pvNYgIvGD+5HGJjh2Ji8oKyjGO7jIuAHlydar1Ic vU4Sjmk6tcKtaYhBwU21ezmmcwgRW0QfZpZM+MiIwieBn3NLMS3Elx7zV/O3t/BoA7hn 48xg== X-Gm-Message-State: AElRT7Gxxgqnp1wJ4t+nc8W5vTexh9prtNPkY8751Llvj4eAsZ65AR8r uZHcZq6DILwCmv7GYagX3RGKiomf X-Google-Smtp-Source: AG47ELv8v4nPuZjt7cdFTQfnf6KBMN6niw9ONVDEAYlivXt161NF8A4sx9FtFnkOyr8yP7J6RsphwQ== X-Received: by 10.101.97.13 with SMTP id z13mr1438003pgu.54.1521159994906; Thu, 15 Mar 2018 17:26:34 -0700 (PDT) Received: from desktop.lan (astound-69-42-5-101.ca.astound.net. [69.42.5.101]) by smtp.gmail.com with ESMTPSA id c15sm12253085pfm.114.2018.03.15.17.26.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Mar 2018 17:26:34 -0700 (PDT) From: Rosen Penev To: lede-dev@lists.infradead.org Date: Thu, 15 Mar 2018 17:26:26 -0700 Message-Id: <20180316002626.11492-1-rosenp@gmail.com> X-Mailer: git-send-email 2.16.2 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-20180315_172645_923657_8F8A7CDC X-CRM114-Status: GOOD ( 10.16 ) X-Spam-Score: -0.1 (/) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-0.1 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:242 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 -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. v3: Change URL to HTTPS now that Wolfgang Denke added support. --- 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 442cf3fd83..9b1ed6967b 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://git.denx.de/u-boot.git +PKG_SOURCE_VERSION:=5ec0003b19cbdf06ccd6941237cbc0d1c3468e2d +PKG_MIRROR_HASH:=e207d996ebfff7335eed99789e3dcb9da071499f347fcdd86725b9d4dac5a5bb PKG_BUILD_DEPENDS:=fstools