source: debwrt/trunk/openwrt/patches/backfire/005_make_empty_rootfs @ 31

Last change on this file since 31 was 31, checked in by amain, 9 years ago

Empty rootfs patch

File size: 636 bytes
Line 
1--- include/image.mk.org        2010-06-26 12:39:55.741248267 +0200
2+++ include/image.mk    2010-06-26 12:38:15.301415960 +0200
3@@ -99,7 +99,9 @@
4   ifneq ($(CONFIG_TARGET_ROOTFS_SQUASHFS),)
5     define Image/mkfs/squashfs
6                @mkdir -p $(TARGET_DIR)/overlay
7-               $(MKSQUASHFS_CMD) $(TARGET_DIR) $(KDIR)/root.squashfs -nopad -noappend -root-owned $(SQUASHFS_OPTS)
8+               @mkdir -p $(TMP_DIR)/debwrt-empty-rootfs/overlay
9+               @touch $(TMP_DIR)/debwrt-empty-rootfs/debwrt-empty-rootfs
10+               $(MKSQUASHFS_CMD) $(TMP_DIR)/debwrt-empty-rootfs $(KDIR)/root.squashfs -nopad -noappend -root-owned $(SQUASHFS_OPTS)
11                $(call Image/Build,squashfs)
12     endef
13   endif
Note: See TracBrowser for help on using the repository browser.