aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2006-03-31 18:25:00 +0000
committerMike Baker <mbm@openwrt.org>2006-03-31 18:25:00 +0000
commit72d045c6518abf188b79e5011a2fb4ac3ec23c1c (patch)
tree65cdfa84e3194ba067f6965c5b841ba12c172832 /package
parent9499f422f96749b5736f84a77563fe7e8c03cc07 (diff)
downloadupstream-72d045c6518abf188b79e5011a2fb4ac3ec23c1c.tar.gz
upstream-72d045c6518abf188b79e5011a2fb4ac3ec23c1c.tar.bz2
upstream-72d045c6518abf188b79e5011a2fb4ac3ec23c1c.zip
link /proc/mounts to /etc/mtab (fixes mkfs.ext3 issues)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3561 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/base-files/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index 2604e62578..1fb0c14498 100644
--- a/package/base-files/Makefile
+++ b/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