From 6d99ce25b19f23cd287884210bdeaadc429a43dc Mon Sep 17 00:00:00 2001 From: mbm Date: Fri, 31 Mar 2006 18:25:00 +0000 Subject: 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 --- openwrt/package/base-files/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'openwrt/package/base-files') diff --git a/openwrt/package/base-files/Makefile b/openwrt/package/base-files/Makefile index 2604e6257..1fb0c1449 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 -- cgit v1.2.3