From 303712d4b4a6c3d9d943c590e198cdd831587698 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Fri, 17 Jul 2015 20:53:19 +0200 Subject: [PATCH] brcm2708: don't use gzip -k --- .../openwrt/0016-brcm2708-Implement-sysupgrade.patch | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/patches/openwrt/0016-brcm2708-Implement-sysupgrade.patch b/patches/openwrt/0016-brcm2708-Implement-sysupgrade.patch index 7c69c554..4c205284 100644 --- a/patches/openwrt/0016-brcm2708-Implement-sysupgrade.patch +++ b/patches/openwrt/0016-brcm2708-Implement-sysupgrade.patch @@ -1,5 +1,5 @@ -From: blogic -Date: Tue, 14 Jul 2015 07:39:10 +0000 +From: Matthias Schiffer +Date: Fri, 17 Jul 2015 20:51:23 +0200 Subject: brcm2708: Implement sysupgrade Implement sysupgrade for Raspberry Pi, similar to the way it is done on x86: @@ -11,8 +11,6 @@ a lot of space (76M vs 6M), also similar to x86. Signed-off-by: Bruno Randolf -git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46347 3c298f89-4303-0410-b956-a3cf2f4a3e73 - diff --git a/target/linux/brcm2708/Makefile b/target/linux/brcm2708/Makefile index 30f6e1d..015aa9c 100644 --- a/target/linux/brcm2708/Makefile @@ -74,7 +72,7 @@ index 0000000..3e1ee00 + umount /mnt +} diff --git a/target/linux/brcm2708/image/Makefile b/target/linux/brcm2708/image/Makefile -index e70bdd0..0dd7b7d 100644 +index e70bdd0..2c18baf 100644 --- a/target/linux/brcm2708/image/Makefile +++ b/target/linux/brcm2708/image/Makefile @@ -28,6 +28,9 @@ define Image/Build/RaspberryPi @@ -82,7 +80,7 @@ index e70bdd0..0dd7b7d 100644 ./gen_rpi_sdcard_img.sh $(BIN_DIR)/$(IMG_PREFIX)-sdcard-vfat-$(1).img $(KDIR)/boot.img $(KDIR)/root.$(1) \ $(CONFIG_BRCM2708_SD_BOOT_PARTSIZE) $(CONFIG_TARGET_ROOTFS_PARTSIZE) + ifneq ($(CONFIG_TARGET_IMAGES_GZIP),) -+ gzip -k -f9 $(BIN_DIR)/$(IMG_PREFIX)-sdcard-vfat-$(1).img ++ gzip -f9n $(BIN_DIR)/$(IMG_PREFIX)-sdcard-vfat-$(1).img + endif endef