From 6c8f2cc5e29445140ccdc29d04bf3876d545f16a Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 27 Mar 2015 08:19:29 -0400 Subject: make it more generic just bind the libparted function (needed for next commit) --- perl-install/partition_table/gpt.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/partition_table') diff --git a/perl-install/partition_table/gpt.pm b/perl-install/partition_table/gpt.pm index e59e96184..5de9337e3 100644 --- a/perl-install/partition_table/gpt.pm +++ b/perl-install/partition_table/gpt.pm @@ -111,7 +111,7 @@ sub read_one { # FIXME: just use '@pt = map { ... } c::...' if part_numbers are always linear: foreach (c::get_disk_partitions($hd->{file})) { # fix detecting ESP (special case are they're detected through pt_type): - if (c::is_partition_ESP($hd->{file}, $_->{part_number})) { + if (c::get_partition_flag($hd->{file}, $_->{part_number}, 'ESP')) { $_->{pt_type} = 0xef; } @pt[$_->{part_number}-1] = $_; -- cgit v1.2.1