diff options
author | Francois Pons <fpons@mandriva.com> | 2000-11-07 16:12:27 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2000-11-07 16:12:27 +0000 |
commit | f76bbf35b6ef47288449b0c9710aeecfca27e999 (patch) | |
tree | 4294e3b61c34f563391d506362234764132d840d /rescue/tree | |
parent | 7f63cda72afe044aa60a52b581950c4410f8ba9f (diff) | |
download | drakx-f76bbf35b6ef47288449b0c9710aeecfca27e999.tar drakx-f76bbf35b6ef47288449b0c9710aeecfca27e999.tar.gz drakx-f76bbf35b6ef47288449b0c9710aeecfca27e999.tar.bz2 drakx-f76bbf35b6ef47288449b0c9710aeecfca27e999.tar.xz drakx-f76bbf35b6ef47288449b0c9710aeecfca27e999.zip |
make sure fstab is not just empty but contains /
Diffstat (limited to 'rescue/tree')
-rwxr-xr-x | rescue/tree/etc/oem | 2 |
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 |