Переглянути джерело

the resulting tar ball differs in size every time. disable checksum for git checkouts

Waldemar Brodkorb 9 роки тому
батько
коміт
5cae74e26f
3 змінених файлів з 5 додано та 5 видалено
  1. 3 3
      mk/fetch.mk
  2. 1 1
      package/bcm2835-bootloader/Makefile
  3. 1 1
      package/u-boot/Makefile

+ 3 - 3
mk/fetch.mk

@@ -68,11 +68,11 @@ $(1):
 		if [ $$$$(echo $${PKG_VERSION}|wc -c) -eq 41 ]; then \
 			(cd $${PKG_NAME}-$${PKG_VERSION}; \
 			echo "Checking out $${PKG_VERSION}"; \
-			git checkout -q $${PKG_VERSION}); \
+			git checkout $${PKG_VERSION}); \
 		else \
-			echo "Using head, disabling checksum check"; \
-			touch $$$${filename}.nohash; \
+			echo "Using head"; \
 		fi; \
+		touch $$$${filename}.nohash; \
 		rm -rf $${PKG_NAME}-$${PKG_VERSION}/.git; \
 		tar cJf $${PKG_NAME}-$${PKG_VERSION}.tar.xz $${PKG_NAME}-$${PKG_VERSION}; \
 		rm -rf $${PKG_NAME}-$${PKG_VERSION}; \

+ 1 - 1
package/bcm2835-bootloader/Makefile

@@ -6,11 +6,11 @@ include $(ADK_TOPDIR)/rules.mk
 PKG_NAME:=		bcm2835-bootloader
 PKG_VERSION:=		393dcc0e76f18f6ac1b67ba45d36058410670034
 PKG_RELEASE:=		1
-PKG_HASH:=		44723adf99a06e6a21df7e9ee20ff29c6235323e38e1d055ea087d29a7597c81
 PKG_DESCR:=		bootloader for raspberry pi
 PKG_SECTION:=		base/boot
 PKG_URL:=		https://github.com/raspberrypi/firmware
 PKG_SITES:=		https://github.com/raspberrypi/firmware.git
+NO_CHECKSUM:=		1
 
 PKG_SYSTEM_DEPENDS:=	raspberry-pi
 PKG_CHOICES_BCM2835_BOOTLOADER:=	DEFAULT EXTRA CUTDOWN

+ 1 - 1
package/u-boot/Makefile

@@ -6,11 +6,11 @@ include $(ADK_TOPDIR)/rules.mk
 PKG_NAME:=		u-boot
 PKG_VERSION:=		d8bec60c1b0de7770f9b56ad092ab9be801d99af
 PKG_RELEASE:=		1
-PKG_HASH:=		21108ec5accf0737859834f051aef02d26163e0c0b41da265ea8f64e4af17a5e
 PKG_DESCR:=		portable bootloader
 PKG_SECTION:=		base/boot
 PKG_URL:=		http://www.denx.de/wiki/U-Boot	
 PKG_SITES:=		git://git.denx.de/u-boot.git
+NO_CHECKSUM:=		1
 
 PKG_SYSTEM_DEPENDS:=	raspberry-pi