summaryrefslogtreecommitdiff
path: root/openwrt
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
commitbb692387926bcae52c350916fe7bac4535a4d9ea (patch)
treec7a6c4039474e896966c58ed2447974775b19632 /openwrt
parent96f62e6a2293ca9dea6c9e6fa7846f58bd0a535e (diff)
downloadmtk-20170518-bb692387926bcae52c350916fe7bac4535a4d9ea.zip
mtk-20170518-bb692387926bcae52c350916fe7bac4535a4d9ea.tar.gz
mtk-20170518-bb692387926bcae52c350916fe7bac4535a4d9ea.tar.bz2
link /proc/mounts to /etc/mtab (fixes mkfs.ext3 issues)
SVN-Revision: 3561
Diffstat (limited to 'openwrt')
-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 2604e62..1fb0c14 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