[source] uboot-layerscape-armv8_32b: fix package download

LEDE Commits lede-commits at lists.infradead.org
Wed Dec 20 13:01:03 PST 2017


hauke pushed a commit to source.git, branch master:
https://git.lede-project.org/8e03eea8750095b9f733d2637fe70ba362478c12

commit 8e03eea8750095b9f733d2637fe70ba362478c12
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Wed Dec 20 21:54:18 2017 +0100

    uboot-layerscape-armv8_32b: fix package download
    
    In commit 2b1ec44dbd3cd3 ("layerscape: add ls1012afrdm device support")
    The git revision and the mirror hash for this package was updated to a
    version which includes ls1012afrdm-uboot.bin, but the file name at
    dl/uboot-layerscape-armv8_32b-2017.09.tar.xz staid the same. This way
    most user did not download the new version but used the old file.
    Convert this package to the normal git clone parameters by using
    PKG_SOURCE_DATE instated of PKG_VERSION, now the file name in dl also
    contains the git hash and should change every time the git hash is
    updated.
    
    This should fix a problem spotted by build bot.
    
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 package/boot/uboot-layerscape-armv8_32b/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/boot/uboot-layerscape-armv8_32b/Makefile b/package/boot/uboot-layerscape-armv8_32b/Makefile
index 8427bee..d1ca829 100644
--- a/package/boot/uboot-layerscape-armv8_32b/Makefile
+++ b/package/boot/uboot-layerscape-armv8_32b/Makefile
@@ -8,7 +8,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=uboot-layerscape-armv8_32b
-PKG_VERSION:=2017.09
+PKG_SOURCE_DATE:=2017-10-24
 PKG_RELEASE:=1
 
 # Layerscape ARMv8 platforms use 64-bit u-boot to support both 32-bit and 64-bit
@@ -18,7 +18,7 @@ PKG_RELEASE:=1
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=https://github.com/yangbolu1991/u-boot-lede.git
 PKG_SOURCE_VERSION:=43cb4c0fcab237f8daa39c393cc1441b76b99fcf
-PKG_MIRROR_HASH:=f0ef74cd0a4aecd727e8c4046b50a869ddec8a4f382da77475ec433f86cdc39a
+PKG_MIRROR_HASH:=ff7d1fcb85dda2be6a9e3785821b5791c7189d2d412b160a9621bb2dcad24dea
 
 PKG_MAINTAINER:=Yangbo Lu <yangbo.lu at nxp.com>
 



More information about the lede-commits mailing list