mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
don't pad aruba images - unnecessary with the jffs2 hack
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4610 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
5ed85f63ed
commit
018e2cfd9d
@ -33,8 +33,7 @@ endef
|
||||
define Image/Build/jffs2-64k
|
||||
@dd if=$(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL).ari of=$(KDIR)/image.tmp bs=655360 conv=sync
|
||||
@cat $(KDIR)/root.$(1) >> $(KDIR)/image.tmp
|
||||
@dd if=$(KDIR)/image.tmp of=$(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(patsubst jffs2-%,jffs2,$(1)).bin bs=3604480 conv=sync
|
||||
@rm -f $(KDIR)/image.tmp
|
||||
mv $(KDIR)/image.tmp $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(patsubst jffs2-%,jffs2,$(1)).bin
|
||||
endef
|
||||
|
||||
define Image/Build
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user