diff options
-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}); |