summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-02-26 16:37:30 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-02-26 16:37:30 +0000
commit7c50ab390d07c753b31f37420d70e3fd9ca8cee1 (patch)
treecb012057d4e06c0ab69c2823178f011ba6100bbc
parent78f6b063b907062067f1c2e76fc21f1a4e32160f (diff)
downloaddrakx-7c50ab390d07c753b31f37420d70e3fd9ca8cee1.tar
drakx-7c50ab390d07c753b31f37420d70e3fd9ca8cee1.tar.gz
drakx-7c50ab390d07c753b31f37420d70e3fd9ca8cee1.tar.bz2
drakx-7c50ab390d07c753b31f37420d70e3fd9ca8cee1.tar.xz
drakx-7c50ab390d07c753b31f37420d70e3fd9ca8cee1.zip
create /dev/dvd for DVDs
-rw-r--r--perl-install/install_steps.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index d110055ad..01ad63caa 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -414,6 +414,11 @@ Consoles 1,3,4,7 may also contain interesting information";
#- for mandrake_firstime
touch "$o->{prefix}/var/lock/TMP_1ST";
+ #- create /dev/dvd symlink
+ each_index {
+ any::devfssymlinkf($_->{device}, 'dvd' . ($::i ? $::i + 1 : ''), $o->{prefix});
+ } grep { detect_devices::isDvdDrive($_) } detect_devices::cdroms__faking_ide_scsi();
+
any::writeandclean_ldsoconf($o->{prefix});
#- make sure wins is disabled in /etc/nsswitch.conf