source: debwrt/trunk/openwrt/patches/trunk/005_make_empty_rootfs @ 220

Last change on this file since 220 was 196, checked in by stappers, 10 years ago

openwrt/patches/trunk/005_make_empty_rootfs updated

File size: 759 bytes
Line 
1Index: include/image.mk
2===================================================================
3--- include/image.mk    (revision 26437)
4+++ include/image.mk    (working copy)
5@@ -94,7 +94,9 @@
6   ifneq ($(CONFIG_TARGET_ROOTFS_SQUASHFS),)
7     define Image/mkfs/squashfs
8                @mkdir -p $(TARGET_DIR)/overlay
9-               $(STAGING_DIR_HOST)/bin/mksquashfs4 $(TARGET_DIR) $(KDIR)/root.squashfs -nopad -noappend -root-owned -comp $(SQUASHFSCOMP) -processors 1
10+               @mkdir -p $(TMP_DIR)/debwrt-empty-rootfs/overlay
11+               @touch $(TMP_DIR)/debwrt-empty-rootfs/debwrt-empty-rootfs
12+               $(STAGING_DIR_HOST)/bin/mksquashfs4 $(TMP_DIR)/debwrt-empty-rootfs/ $(KDIR)/root.squashfs -nopad -noappend -root-owned -comp $(SQUASHFSCOMP) -processors 1
13                $(call Image/Build,squashfs)
14     endef
15   endif
Note: See TracBrowser for help on using the repository browser.