diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-04-30 12:54:44 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-04-30 12:54:44 +0000 |
commit | a91a164fb5e43b03e6533d638f14aed01535c8ba (patch) | |
tree | e3f0c3c25f48a691ec4e157a55b177cf79b8dec4 /perl-install/any.pm | |
parent | ebf781611af8b3be1e02b11a263cbc1164cbc0fe (diff) | |
download | drakx-a91a164fb5e43b03e6533d638f14aed01535c8ba.tar drakx-a91a164fb5e43b03e6533d638f14aed01535c8ba.tar.gz drakx-a91a164fb5e43b03e6533d638f14aed01535c8ba.tar.bz2 drakx-a91a164fb5e43b03e6533d638f14aed01535c8ba.tar.xz drakx-a91a164fb5e43b03e6533d638f14aed01535c8ba.zip |
do not try to configure dvd devices during install since /dev is wiped out at reboot
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r-- | perl-install/any.pm | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm index 751a8392e..be6dc6825 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -1261,21 +1261,6 @@ sub alloc_raw_device { $raw_dev; } -sub config_dvd { - my ($prefix) = @_; - - my @dvds = grep { detect_devices::isDvdDrive($_) } detect_devices::cdroms() or return; - - log::l("configuring DVD: " . join(" ", map { $_->{device} } @dvds)); - #- create /dev/dvd symlink - each_index { - devices::symlink_now_and_register($_, 'dvd' . ($::i ? $::i + 1 : '')); - } @dvds; - - my $raw_dev = alloc_raw_device($prefix, 'dvd'); - symlink($raw_dev, "$prefix/dev/rdvd"); -} - sub config_mtools { my ($prefix) = @_; my $file = "$prefix/etc/mtools.conf"; |