summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-03-19 09:11:36 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-03-19 09:11:36 +0000
commit872fd1386f5ddb4ec60d71e417a58db26393ad47 (patch)
tree88846ff45d2353d1a690575d0c1e19f2363b6161 /perl-install
parenta4a52e9642c2fc5c2349de0b43cab3c6ba7385ef (diff)
downloaddrakx-backup-do-not-use-872fd1386f5ddb4ec60d71e417a58db26393ad47.tar
drakx-backup-do-not-use-872fd1386f5ddb4ec60d71e417a58db26393ad47.tar.gz
drakx-backup-do-not-use-872fd1386f5ddb4ec60d71e417a58db26393ad47.tar.bz2
drakx-backup-do-not-use-872fd1386f5ddb4ec60d71e417a58db26393ad47.tar.xz
drakx-backup-do-not-use-872fd1386f5ddb4ec60d71e417a58db26393ad47.zip
devfs=mount is the default for kernel 2.6 (what about 2.4 ?), so one need
devfs=nomount when devfsd is not installed
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';