summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table/readonly.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-09-24 07:42:14 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-09-24 07:42:14 +0000
commit623ebaf238e24fb482ab0b4dc423d98ce95acb79 (patch)
treef43f7cf69c996eae9654e684d97bc90fd70fb254 /perl-install/partition_table/readonly.pm
parent4ba199e6863ad0619651fb9540f763e1ab970102 (diff)
downloaddrakx-623ebaf238e24fb482ab0b4dc423d98ce95acb79.tar
drakx-623ebaf238e24fb482ab0b4dc423d98ce95acb79.tar.gz
drakx-623ebaf238e24fb482ab0b4dc423d98ce95acb79.tar.bz2
drakx-623ebaf238e24fb482ab0b4dc423d98ce95acb79.tar.xz
drakx-623ebaf238e24fb482ab0b4dc423d98ce95acb79.zip
fix fs::proc_partitions::use_() case: $hd must be cleaned up from existing stuff
Diffstat (limited to 'perl-install/partition_table/readonly.pm')
-rw-r--r--perl-install/partition_table/readonly.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/partition_table/readonly.pm b/perl-install/partition_table/readonly.pm
index c0d483aaf..ec4e5cc49 100644
--- a/perl-install/partition_table/readonly.pm
+++ b/perl-install/partition_table/readonly.pm
@@ -14,7 +14,8 @@ sub initialize {
my ($class, $hd, $parts) = @_;
$hd->{readonly} = $hd->{getting_rid_of_readonly_allowed} = 1;
- $hd->{primary}{normal} = $parts;
+ $hd->{primary} = { normal => $parts };
+ delete $hd->{extended};
bless $hd, $class;
}