aboutsummaryrefslogtreecommitdiffstats
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
commit600db202065245545d011272ce2dacfd36868e66 (patch)
tree2dcfe794b5e4c0b0da04514c8f1ebcfb3c2f8a95
parentd506ad8949c9a8b1b10699331a1a3b0984206db6 (diff)
downloadupstream-600db202065245545d011272ce2dacfd36868e66.tar.gz
upstream-600db202065245545d011272ce2dacfd36868e66.tar.bz2
upstream-600db202065245545d011272ce2dacfd36868e66.zip
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
-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 2604e62578c..1fb0c14498f 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