source: branches/contrib/openwrt/patches/backfire/025_make_empty_rootfs @ 430

Last change on this file since 430 was 430, checked in by ehem, 7 years ago

Switch to using -p1 for applying OpenWRT patches. This matches the way most
things are distributed as patches, even though not needed for DebWRT.

File size: 652 bytes
Line 
1--- openwrt/include/image.mk.org        2010-06-26 12:39:55.741248267 +0200
2+++ openwrt/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.