diff options
author | Francois Pons <fpons@mandriva.com> | 2000-11-07 15:52:22 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2000-11-07 15:52:22 +0000 |
commit | 7f63cda72afe044aa60a52b581950c4410f8ba9f (patch) | |
tree | 9391ea0969dd603a5d7f4243bed483978509838a /rescue/tree | |
parent | eabf4901d9ac140747ca8e667bb9395f79ad92a2 (diff) | |
download | drakx-7f63cda72afe044aa60a52b581950c4410f8ba9f.tar drakx-7f63cda72afe044aa60a52b581950c4410f8ba9f.tar.gz drakx-7f63cda72afe044aa60a52b581950c4410f8ba9f.tar.bz2 drakx-7f63cda72afe044aa60a52b581950c4410f8ba9f.tar.xz drakx-7f63cda72afe044aa60a52b581950c4410f8ba9f.zip |
use /etc/closurepkgs instead of closurepkgs directly.
Diffstat (limited to 'rescue/tree')
-rwxr-xr-x | rescue/tree/etc/oem | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rescue/tree/etc/oem b/rescue/tree/etc/oem index 1cf099d3e..9e5d431f2 100755 --- a/rescue/tree/etc/oem +++ b/rescue/tree/etc/oem @@ -48,7 +48,7 @@ echo "Copying installation on hard drive" cp -a /boot /cdrom/boot /hd mkdir -p /hd/Mandrake /hd/Mandrake/RPMS cp -a /cdrom/Mandrake/base /cdrom/Mandrake/mdkinst /hd/Mandrake -for i in `closurepkgs /hd/Mandrake/base/depslist.ordered /hd/Mandrake/base/compssList | grep C: | cut -d: -f2`; do +for i in `/etc/closurepkgs /hd/Mandrake/base/depslist.ordered /hd/Mandrake/base/compssList | grep C: | cut -d: -f2`; do [ -e /cdrom/Mandrake/RPMS/$i.*.rpm ] && cp -a /cdrom/Mandrake/RPMS/$i.*.rpm /hd/Mandrake/RPMS done @@ -61,7 +61,7 @@ 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 -for i in `closurepkgs /hd/Mandrake/base/depslist.ordered /hd/Mandrake/base/compssList | grep I: | cut -d: -f2`; do +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 umount /mnt/proc |