summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-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;
}