summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
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 /perl-install/install_steps.pm
parent78f6b063b907062067f1c2e76fc21f1a4e32160f (diff)
downloaddrakx-backup-do-not-use-7c50ab390d07c753b31f37420d70e3fd9ca8cee1.tar
drakx-backup-do-not-use-7c50ab390d07c753b31f37420d70e3fd9ca8cee1.tar.gz
drakx-backup-do-not-use-7c50ab390d07c753b31f37420d70e3fd9ca8cee1.tar.bz2
drakx-backup-do-not-use-7c50ab390d07c753b31f37420d70e3fd9ca8cee1.tar.xz
drakx-backup-do-not-use-7c50ab390d07c753b31f37420d70e3fd9ca8cee1.zip
create /dev/dvd for DVDs
Diffstat (limited to 'perl-install/install_steps.pm')
-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