summaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-11-07 16:12:27 +0000
committerFrancois Pons <fpons@mandriva.com>2000-11-07 16:12:27 +0000
commitf76bbf35b6ef47288449b0c9710aeecfca27e999 (patch)
tree4294e3b61c34f563391d506362234764132d840d /rescue
parent7f63cda72afe044aa60a52b581950c4410f8ba9f (diff)
downloaddrakx-backup-do-not-use-f76bbf35b6ef47288449b0c9710aeecfca27e999.tar
drakx-backup-do-not-use-f76bbf35b6ef47288449b0c9710aeecfca27e999.tar.gz
drakx-backup-do-not-use-f76bbf35b6ef47288449b0c9710aeecfca27e999.tar.bz2
drakx-backup-do-not-use-f76bbf35b6ef47288449b0c9710aeecfca27e999.tar.xz
drakx-backup-do-not-use-f76bbf35b6ef47288449b0c9710aeecfca27e999.zip
make sure fstab is not just empty but contains /
Diffstat (limited to 'rescue')
-rwxr-xr-xrescue/tree/etc/oem2
1 files changed, 1 insertions, 1 deletions
diff --git a/rescue/tree/etc/oem b/rescue/tree/etc/oem
index 9e5d431f2..3aec6a4b4 100755
--- a/rescue/tree/etc/oem
+++ b/rescue/tree/etc/oem
@@ -60,7 +60,7 @@ export SECURE_LEVEL=2
for i in /etc /var/lib/rpm /proc ; do mkdir -p /mnt$i; done
mount -t proc proc /mnt/proc
rpm --root /mnt --initdb
-touch /mnt/etc/fstab
+echo >/mnt/etc/fstab "$hd$inst / ext2 defaults 1 1"
for i in `/etc/closurepkgs /hd/Mandrake/base/depslist.ordered /hd/Mandrake/base/compssList | grep I: | cut -d: -f2`; do
[ -e /cdrom/Mandrake/RPMS/$i.*.rpm ] && rpm --root /mnt -ivh /cdrom/Mandrake/RPMS/$i.*.rpm --nodeps --force
done