X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/6fd901e98547f074fa97acac4eab819d3b6c4d74..9e7554db871433758f661e85f8ff95501b62d935:/include/image.mk diff --git a/include/image.mk b/include/image.mk index 6c0c91ca1..0ce6336cc 100644 --- a/include/image.mk +++ b/include/image.mk @@ -62,14 +62,13 @@ ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y) $(call Image/Build,jffs2-$(1)) endef define Image/mkfs/jffs2 - rm -rf $(TARGET_DIR)/jffs $(foreach SZ,$(JFFS2_BLOCKSIZE),$(call Image/mkfs/jffs2/sub,$(SZ))) endef endif ifeq ($(CONFIG_TARGET_ROOTFS_SQUASHFS),y) define Image/mkfs/squashfs - @mkdir -p $(TARGET_DIR)/jffs + @mkdir -p $(TARGET_DIR)/overlay $(MKSQUASHFS_CMD) $(TARGET_DIR) $(KDIR)/root.squashfs -nopad -noappend -root-owned $(SQUASHFS_OPTS) $(call Image/Build,squashfs) endef @@ -104,7 +103,7 @@ endif define Image/Checksum ( cd ${BIN_DIR} ; \ - $(FIND) -maxdepth 1 -type f \! -name 'md5sums' -printf "%P\n" | xargs \ + $(FIND) -maxdepth 1 -type f \! -name 'md5sums' -printf "%P\n" | sort | xargs \ md5sum --binary > md5sums \ ) endef