summaryrefslogtreecommitdiff
path: root/openwrt/package/base-files/Makefile
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-03-31 18:25:00 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-03-31 18:25:00 +0000
commit6d99ce25b19f23cd287884210bdeaadc429a43dc (patch)
tree2dcfe794b5e4c0b0da04514c8f1ebcfb3c2f8a95 /openwrt/package/base-files/Makefile
parent9827d75494b51e72a4a7cad5ca3427badf4a9a87 (diff)
link /proc/mounts to /etc/mtab (fixes mkfs.ext3 issues)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3561 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/base-files/Makefile')
-rw-r--r--openwrt/package/base-files/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/openwrt/package/base-files/Makefile b/openwrt/package/base-files/Makefile
index 2604e62578..1fb0c14498 100644
--- a/openwrt/package/base-files/Makefile
+++ b/openwrt/package/base-files/Makefile
@@ -64,6 +64,7 @@ $(IPKG_BASE):
mkdir -p $(IDIR_BASE)/usr/lib
mkdir -p $(IDIR_BASE)/usr/bin
ln -sf /tmp/resolv.conf $(IDIR_BASE)/etc/resolv.conf
+ ln -sf /proc/mounts $(IDIR_BASE)/etc/mtab
rm -rf $(IDIR_BASE)/var
ln -sf /tmp $(IDIR_BASE)/var
-find $(IDIR_BASE) -type d -name CVS | xargs rm -rf