link /proc/mounts to /etc/mtab (fixes mkfs.ext3 issues)
authorMike Baker <mbm@openwrt.org>
Fri, 31 Mar 2006 18:25:00 +0000 (18:25 +0000)
committerMike Baker <mbm@openwrt.org>
Fri, 31 Mar 2006 18:25:00 +0000 (18:25 +0000)
SVN-Revision: 3561

openwrt/package/base-files/Makefile

index 2604e62578c3d87fa22dda9fefa093f4aa7e4261..1fb0c14498f4862bd51a3e5986c809b9b07a2694 100644 (file)
@@ -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