From: mbm Date: Fri, 31 Mar 2006 18:25:00 +0000 (+0000) Subject: link /proc/mounts to /etc/mtab (fixes mkfs.ext3 issues) X-Git-Url: https://git.archive.openwrt.org/?a=commitdiff_plain;h=577eddc90d9b794f4419f0df1c4bc04109762626;p=openwrt.git 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 --- 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