fix Ubiquiti RouterStation images
authorGabor Juhos <juhosg@openwrt.org>
Thu, 22 Jan 2009 07:35:05 +0000 (07:35 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Thu, 22 Jan 2009 07:35:05 +0000 (07:35 +0000)
SVN-Revision: 14144

target/linux/ar71xx/image/Makefile

index fea4691aeebf56b41b7b366c46f07279daa78bf9..6ed652e6bc01a9f0e50853ee76762ab08f8ab4c0 100644 (file)
@@ -68,7 +68,8 @@ endef
 define Image/Build/UBNT
        cp $(KDIR)/vmlinux $(KDIR)/vmlinux-$(2)
        $(STAGING_DIR_HOST)/bin/patch-cmdline $(KDIR)/vmlinux-$(2) '$(strip $(3))'
-       $(STAGING_DIR_HOST)/bin/lzma e $(KDIR)/vmlinux-$(2) $(KDIR)/vmlinux-$(2).bin.lzma
+       $(STAGING_DIR_HOST)/bin/lzma e $(KDIR)/vmlinux-$(2) $(KDIR)/vmlinux-$(2).lzma
+       dd if=$(KDIR)/vmlinux-$(2).lzma of=$(KDIR)/vmlinux-$(2).bin.lzma bs=64k conv=sync
        -$(STAGING_DIR_HOST)/bin/mkfwimage \
                -B $(4) -v $(5).ar7100.OpenWrt \
                -k $(KDIR)/vmlinux-$(2).bin.lzma \