diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-03-19 09:11:36 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-03-19 09:11:36 +0000 |
commit | 872fd1386f5ddb4ec60d71e417a58db26393ad47 (patch) | |
tree | 88846ff45d2353d1a690575d0c1e19f2363b6161 /perl-install/install_steps.pm | |
parent | a4a52e9642c2fc5c2349de0b43cab3c6ba7385ef (diff) | |
download | drakx-872fd1386f5ddb4ec60d71e417a58db26393ad47.tar drakx-872fd1386f5ddb4ec60d71e417a58db26393ad47.tar.gz drakx-872fd1386f5ddb4ec60d71e417a58db26393ad47.tar.bz2 drakx-872fd1386f5ddb4ec60d71e417a58db26393ad47.tar.xz drakx-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/install_steps.pm')
-rw-r--r-- | perl-install/install_steps.pm | 6 |
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'; |