Skip to content
Snippets Groups Projects
Commit 303712d4 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

brcm2708: don't use gzip -k

parent 2eb59dde
No related branches found
No related tags found
No related merge requests found
From: blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> From: Matthias Schiffer <mschiffer@universe-factory.net>
Date: Tue, 14 Jul 2015 07:39:10 +0000 Date: Fri, 17 Jul 2015 20:51:23 +0200
Subject: brcm2708: Implement sysupgrade Subject: brcm2708: Implement sysupgrade
Implement sysupgrade for Raspberry Pi, similar to the way it is done on x86: 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. ...@@ -11,8 +11,6 @@ a lot of space (76M vs 6M), also similar to x86.
Signed-off-by: Bruno Randolf <br1@einfach.org> Signed-off-by: Bruno Randolf <br1@einfach.org>
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 diff --git a/target/linux/brcm2708/Makefile b/target/linux/brcm2708/Makefile
index 30f6e1d..015aa9c 100644 index 30f6e1d..015aa9c 100644
--- a/target/linux/brcm2708/Makefile --- a/target/linux/brcm2708/Makefile
...@@ -74,7 +72,7 @@ index 0000000..3e1ee00 ...@@ -74,7 +72,7 @@ index 0000000..3e1ee00
+ umount /mnt + umount /mnt
+} +}
diff --git a/target/linux/brcm2708/image/Makefile b/target/linux/brcm2708/image/Makefile 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 --- a/target/linux/brcm2708/image/Makefile
+++ b/target/linux/brcm2708/image/Makefile +++ b/target/linux/brcm2708/image/Makefile
@@ -28,6 +28,9 @@ define Image/Build/RaspberryPi @@ -28,6 +28,9 @@ define Image/Build/RaspberryPi
...@@ -82,7 +80,7 @@ index e70bdd0..0dd7b7d 100644 ...@@ -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) \ ./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) $(CONFIG_BRCM2708_SD_BOOT_PARTSIZE) $(CONFIG_TARGET_ROOTFS_PARTSIZE)
+ ifneq ($(CONFIG_TARGET_IMAGES_GZIP),) + 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 + endif
endef endef
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment