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 | |
parent | 4ba199e6863ad0619651fb9540f763e1ab970102 (diff) | |
download | drakx-backup-do-not-use-623ebaf238e24fb482ab0b4dc423d98ce95acb79.tar drakx-backup-do-not-use-623ebaf238e24fb482ab0b4dc423d98ce95acb79.tar.gz drakx-backup-do-not-use-623ebaf238e24fb482ab0b4dc423d98ce95acb79.tar.bz2 drakx-backup-do-not-use-623ebaf238e24fb482ab0b4dc423d98ce95acb79.tar.xz drakx-backup-do-not-use-623ebaf238e24fb482ab0b4dc423d98ce95acb79.zip |
fix fs::proc_partitions::use_() case: $hd must be cleaned up from existing stuff
-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; } |