From: Mike Baker Date: Fri, 31 Mar 2006 18:25:00 +0000 (+0000) Subject: link /proc/mounts to /etc/mtab (fixes mkfs.ext3 issues) X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=b00a836c9a2fe4c4c8aaf8b6348274f9bfdcb6d9 link /proc/mounts to /etc/mtab (fixes mkfs.ext3 issues) SVN-Revision: 3561 --- 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