summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLanchon <lanchon@gmail.com>2016-04-08 15:13:17 -0300
committerLanchon <lanchon@gmail.com>2016-04-08 15:13:17 -0300
commit5ecdb14422336f20a088de329b393c828d617224 (patch)
treed944b58209a158f0202735332c3d811a5c2c6cd9
parentf94f7a8e0bbbc5eb15db8e72dcb8f67fb8e95578 (diff)
downloaddevice_samsung_galaxys2-common-5ecdb14422336f20a088de329b393c828d617224.zip
device_samsung_galaxys2-common-5ecdb14422336f20a088de329b393c828d617224.tar.gz
device_samsung_galaxys2-common-5ecdb14422336f20a088de329b393c828d617224.tar.bz2
galaxys2-common: build an IsoRec-style recovery.img
...instead of building a duplicate of boot.img. The make target is the standard 'recoveryimage'. Thanks to arnab who originated the idea. Change-Id: Ibbe996db97bc043033de645166d23ce4c19dc06b
-rw-r--r--shbootimg.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/shbootimg.mk b/shbootimg.mk
index a83532f..1afbf1d 100644
--- a/shbootimg.mk
+++ b/shbootimg.mk
@@ -30,5 +30,5 @@ TARGET_KERNEL_BINARIES: $(KERNEL_OUT) $(KERNEL_CONFIG) $(KERNEL_HEADERS_INSTALL)
$(INSTALLED_BOOTIMAGE_TARGET): $(INSTALLED_KERNEL_TARGET)
$(ACP) -fp $< $@
-$(INSTALLED_RECOVERYIMAGE_TARGET): $(INSTALLED_KERNEL_TARGET)
- $(ACP) -fp $< $@
+$(INSTALLED_RECOVERYIMAGE_TARGET): $(recovery_uncompressed_ramdisk)
+ lzop -f9 -o $@ $<