summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_steps.pm6
1 files changed, 2 insertions, 4 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 6d2c83a7c..26ea83d9a 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -425,10 +425,8 @@ Consoles 1,3,4,7 may also contain interesting information";
my $p = pkgs::packageByName($o->{packages}, 'devfsd');
$p && $p->flag_installed
};
- if ($have_devfsd) {
- require bootloader;
- bootloader::may_append($o->{bootloader}, devfs => 'mount');
- }
+ require bootloader;
+ bootloader::may_append($o->{bootloader}, devfs => $have_devfsd ? 'mount' : 'nomount');
#- generate /etc/lvmtab needed for rc.sysinit
run_program::rooted($o->{prefix}, 'lvm2', 'vgscan') if -e '/etc/lvmtab';