diff --git a/target/image/aruba/Makefile b/target/image/aruba/Makefile index 1d2aebfb1..09aa8eabd 100644 --- a/target/image/aruba/Makefile +++ b/target/image/aruba/Makefile @@ -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