diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-07-20 21:37:53 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-07-20 21:37:53 +0000 |
commit | c652c566ef6574bbf589ec5e3b687b25d211ff50 (patch) | |
tree | 50496c03e67bbef27bac9bf55f2da33e293396e2 | |
parent | 557528d23f241feeb566586fe1e9129acb42ae7f (diff) | |
download | drakx-backup-do-not-use-c652c566ef6574bbf589ec5e3b687b25d211ff50.tar drakx-backup-do-not-use-c652c566ef6574bbf589ec5e3b687b25d211ff50.tar.gz drakx-backup-do-not-use-c652c566ef6574bbf589ec5e3b687b25d211ff50.tar.bz2 drakx-backup-do-not-use-c652c566ef6574bbf589ec5e3b687b25d211ff50.tar.xz drakx-backup-do-not-use-c652c566ef6574bbf589ec5e3b687b25d211ff50.zip |
call config_dvd with $have_devfsd
-rw-r--r-- | perl-install/install_steps.pm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index 037ea2273..c27787e38 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -407,10 +407,11 @@ Consoles 1,3,4,7 may also contain interesting information"; #- why not? cuz weather is nice today :-) [pixel] common::sync(); common::sync(); - if (do { + my $have_devfsd = do { my $p = pkgs::packageByName($o->{packages}, 'devfsd'); $p && $p->flag_installed - }) { + }; + if ($have_devfsd) { require bootloader; bootloader::may_append($o->{bootloader}, devfs => 'mount'); } @@ -424,7 +425,7 @@ Consoles 1,3,4,7 may also contain interesting information"; #- for mandrake_firstime touch "$o->{prefix}/var/lock/TMP_1ST"; - any::config_dvd($o->{prefix}); + any::config_dvd($o->{prefix}, $have_devfsd); any::config_mtools($o->{prefix}); any::writeandclean_ldsoconf($o->{prefix}); |