summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table.pm
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2020-12-18 21:43:03 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2020-12-18 21:43:03 +0000
commitf5c43e916dd6970bcc4f0ed28e222696aeec2355 (patch)
treec798c15b7d0b321e0884a2f88c59367227dc46d8 /perl-install/partition_table.pm
parent35ad16a8096a00fbcf2b22d781765c09c75b1b69 (diff)
downloaddrakx-f5c43e916dd6970bcc4f0ed28e222696aeec2355.tar
drakx-f5c43e916dd6970bcc4f0ed28e222696aeec2355.tar.gz
drakx-f5c43e916dd6970bcc4f0ed28e222696aeec2355.tar.bz2
drakx-f5c43e916dd6970bcc4f0ed28e222696aeec2355.tar.xz
drakx-f5c43e916dd6970bcc4f0ed28e222696aeec2355.zip
diskdrake: fix adding parts to extended partition on hybrid ISO (mga#27862)
Diffstat (limited to 'perl-install/partition_table.pm')
-rw-r--r--perl-install/partition_table.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/partition_table.pm b/perl-install/partition_table.pm
index 4d77c3cd4..09c8f74d9 100644
--- a/perl-install/partition_table.pm
+++ b/perl-install/partition_table.pm
@@ -106,8 +106,8 @@ sub verifyParts {
verifyParts_(get_normal_parts($hd));
}
sub verifyPrimary {
- my ($pt, $o_is_hybrid_iso) = @_;
- if (!$o_is_hybrid_iso) {
+ my ($pt) = @_;
+ if (!$pt->{is_hybrid_iso}) {
$_->{start} > 0 || die "partition must NOT start at sector 0" foreach @{$pt->{normal}};
}
verifyParts_(@{$pt->{normal}}, $pt->{extended});