summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-04-13 16:49:49 +0000
committerFrancois Pons <fpons@mandriva.com>2001-04-13 16:49:49 +0000
commit322a74fc77f0b399c3d66fc3cf0901cc2a12dcd4 (patch)
treed8fa05c78c640e065ce60c25ce8ba04d03be3c37
parentd357872e52455ef0171f2c034cb592eb9d635891 (diff)
downloaddrakx-backup-do-not-use-322a74fc77f0b399c3d66fc3cf0901cc2a12dcd4.tar
drakx-backup-do-not-use-322a74fc77f0b399c3d66fc3cf0901cc2a12dcd4.tar.gz
drakx-backup-do-not-use-322a74fc77f0b399c3d66fc3cf0901cc2a12dcd4.tar.bz2
drakx-backup-do-not-use-322a74fc77f0b399c3d66fc3cf0901cc2a12dcd4.tar.xz
drakx-backup-do-not-use-322a74fc77f0b399c3d66fc3cf0901cc2a12dcd4.zip
avoid locking cdrom for oem (compssUsers file still opened).
-rwxr-xr-xrescue/tree/etc/oem1
1 files changed, 1 insertions, 0 deletions
diff --git a/rescue/tree/etc/oem b/rescue/tree/etc/oem
index 823a0553f..755222321 100755
--- a/rescue/tree/etc/oem
+++ b/rescue/tree/etc/oem
@@ -316,6 +316,7 @@ sub select_packages {
pkgs::read_rpmsrate($o->{packages}, install_any::getFile("Mandrake/base/rpmsrate") || die "unable to read rpmsrate");
($o->{compssUsers}, $o->{compssUsersSorted}, $o->{compssUsersIcons}, $o->{compssUsersDescr}) =
pkgs::readCompssUsers($o->{packages}, $o->{meta_class});
+ eval { install_any::getFile("XXX") }; #- close out any still opened filehandle..
$o->{compssUsersChoice}{$_} = 1 foreach map { @{$o->{compssUsers}{$_}} } @{$o->{compssUsersSorted}};
$o->{compssUsersChoice}{SYSTEM} = 1;