summaryrefslogtreecommitdiffstats
path: root/perl-install/fsedit.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-08-08 10:11:26 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-08-08 10:11:26 +0000
commit27379879c56c139b61dd3312001b7aab4e8388de (patch)
tree4a65e4f6e02343a00e73c7b2dd1a6365cc05119a /perl-install/fsedit.pm
parentdc07e001a001266d00a1dedece8a5cecc7f1eee6 (diff)
downloaddrakx-27379879c56c139b61dd3312001b7aab4e8388de.tar
drakx-27379879c56c139b61dd3312001b7aab4e8388de.tar.gz
drakx-27379879c56c139b61dd3312001b7aab4e8388de.tar.bz2
drakx-27379879c56c139b61dd3312001b7aab4e8388de.tar.xz
drakx-27379879c56c139b61dd3312001b7aab4e8388de.zip
- allow using diskdrake even if there is only a lvm PV on full disk available
Diffstat (limited to 'perl-install/fsedit.pm')
-rw-r--r--perl-install/fsedit.pm6
1 files changed, 2 insertions, 4 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm
index 91aee2f0d..64e57c345 100644
--- a/perl-install/fsedit.pm
+++ b/perl-install/fsedit.pm
@@ -180,10 +180,8 @@ sub get_hds {
1;
} elsif ($type->{pt_type} == 0x8e) {
#- LVM on full disk
- my $part = { size => $hd->{totalsectors}, device => $hd->{device}, %$type };
- bless $hd, 'partition_table::raw';
- $hd->{readonly} = $hd->{getting_rid_of_readonly_allowed} = 1;
- $hd->{primary}{normal} = [ $part ];
+ require partition_table::lvm;
+ partition_table::lvm::initialize($hd);
1;
} else {
0;