link /proc/mounts to /etc/mtab (fixes mkfs.ext3 issues)

SVN-Revision: 3561
master
Mike Baker 19 years ago
parent 96f62e6a22
commit bb69238792
  1. 1
      openwrt/package/base-files/Makefile

@ -64,6 +64,7 @@ $(IPKG_BASE):
mkdir -p $(IDIR_BASE)/usr/lib mkdir -p $(IDIR_BASE)/usr/lib
mkdir -p $(IDIR_BASE)/usr/bin mkdir -p $(IDIR_BASE)/usr/bin
ln -sf /tmp/resolv.conf $(IDIR_BASE)/etc/resolv.conf ln -sf /tmp/resolv.conf $(IDIR_BASE)/etc/resolv.conf
ln -sf /proc/mounts $(IDIR_BASE)/etc/mtab
rm -rf $(IDIR_BASE)/var rm -rf $(IDIR_BASE)/var
ln -sf /tmp $(IDIR_BASE)/var ln -sf /tmp $(IDIR_BASE)/var
-find $(IDIR_BASE) -type d -name CVS | xargs rm -rf -find $(IDIR_BASE) -type d -name CVS | xargs rm -rf

Loading…
Cancel
Save