diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-09-24 07:42:14 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-09-24 07:42:14 +0000 |
commit | 623ebaf238e24fb482ab0b4dc423d98ce95acb79 (patch) | |
tree | f43f7cf69c996eae9654e684d97bc90fd70fb254 /perl-install/partition_table | |
parent | 4ba199e6863ad0619651fb9540f763e1ab970102 (diff) | |
download | drakx-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')
-rw-r--r-- | perl-install/partition_table/readonly.pm | 3 |
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; } |