summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-03-03 19:28:07 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-03-03 19:28:07 +0000
commitedbb716165d7a2aacd508b0f44cf775ef606d033 (patch)
tree02e4083e96ae0610ea03dc7777397bcd0480b53c /perl-install
parent9e4da6ff51863e53ee8c65db9197d865116b93db (diff)
downloaddrakx-backup-do-not-use-edbb716165d7a2aacd508b0f44cf775ef606d033.tar
drakx-backup-do-not-use-edbb716165d7a2aacd508b0f44cf775ef606d033.tar.gz
drakx-backup-do-not-use-edbb716165d7a2aacd508b0f44cf775ef606d033.tar.bz2
drakx-backup-do-not-use-edbb716165d7a2aacd508b0f44cf775ef606d033.tar.xz
drakx-backup-do-not-use-edbb716165d7a2aacd508b0f44cf775ef606d033.zip
(formatPartitions): call vgscan if needed when / is mounted
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install2.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index 0379648ae..d7cd43206 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -219,6 +219,9 @@ sub formatPartitions {
require raid;
raid::prepare_prefixed($o->{raid}, $o->{prefix});
+ #- generate /etc/lvmtab need for rc.sysinit
+ run_program::rooted($o->{prefix}, 'vgscan') if -e '/etc/lvmtab';
+
my $d = "/initrd/loopfs/lnx4win";
if (-d $d) {
#- install_any::useMedium(0);