From 8f56530321e66cb1c1180550b1d25bfe305837fe Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 27 Mar 2015 21:51:13 +0100 Subject: really fix retrieving swap partition type Thomas rushed to push before I run perl_checker... :-( --- perl-install/NEWS | 3 +++ perl-install/install/NEWS | 3 +++ perl-install/partition_table/gpt.pm | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/perl-install/NEWS b/perl-install/NEWS index 0be5bf532..c6bb950de 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,6 @@ +- diskdrake (GPT): + o really fix retrieving swap partition type + Version 16.73 - 27 March 2015 - diskdrake (GPT): diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 764164472..1ce139a87 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,3 +1,6 @@ +- GPT partitionning: + o really fix retrieving swap partition type + Version 16.73 - 27 March 2015 - GPT partitionning: diff --git a/perl-install/partition_table/gpt.pm b/perl-install/partition_table/gpt.pm index 1ac296946..5bb1b93b6 100644 --- a/perl-install/partition_table/gpt.pm +++ b/perl-install/partition_table/gpt.pm @@ -118,7 +118,7 @@ sub read_one { } elsif (c::get_partition_flag($hd->{file}, $_->{part_number}, 'RAID')) { $_->{pt_type} = 0xfd; } - $part->{fs_type} = 'swap' if $part->{fs_type} eq 'linux-swap(v1)'; + $_->{fs_type} = 'swap' if $_->{fs_type} eq 'linux-swap(v1)'; @pt[$_->{part_number}-1] = $_; } -- cgit v1.2.1