[source] apm821xx: Fix initramfs image for the Meraki MR24

LEDE Commits lede-commits at lists.infradead.org
Sun Sep 4 22:31:20 PDT 2016


blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/bc36678bdb0223774cf0d088b80b2f0c1e6737db

commit bc36678bdb0223774cf0d088b80b2f0c1e6737db
Author: riptidewave93 <chrisrblake93 at gmail.com>
AuthorDate: Fri Sep 2 06:17:24 2016 -0500

    apm821xx: Fix initramfs image for the Meraki MR24
    
    When gzip is used, our kernel is too large and this causes the ramdisk
    to be at the wrong offset. Fix by moving to lzma.
    
    Signed-off-by: Chris Blake <chrisrblake93 at gmail.com>
---
 target/linux/apm821xx/image/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/apm821xx/image/Makefile b/target/linux/apm821xx/image/Makefile
index 100db56..8edd578 100644
--- a/target/linux/apm821xx/image/Makefile
+++ b/target/linux/apm821xx/image/Makefile
@@ -75,7 +75,7 @@ define Device/mr24
   KERNEL_SIZE := 2048k
   IMAGE_SIZE := 8191k
   KERNEL := kernel-bin | lzma | uImage lzma | MerakiAdd-dtb | MerakiNAND
-  KERNEL_INITRAMFS := copy-file $(KDIR)/vmlinux | gzip | uImage gzip | MerakiAdd-dtb | pad-to 2047k | MerakiAdd-initramfs | MerakiNAND
+  KERNEL_INITRAMFS := copy-file $(KDIR)/vmlinux | lzma | uImage lzma | MerakiAdd-dtb | pad-to 2047k | MerakiAdd-initramfs | MerakiNAND
   IMAGE/sysupgrade.tar := sysupgrade-tar
 endef
 TARGET_DEVICES += mr24



More information about the lede-commits mailing list