From 6deb0e59982c923021492993bb6ed134183ce494 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 27 Mar 2015 09:47:13 -0400 Subject: fix fs_type returned by libparted for swaps --- perl-install/partition_table/gpt.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'perl-install/partition_table') diff --git a/perl-install/partition_table/gpt.pm b/perl-install/partition_table/gpt.pm index 5dec99630..1ac296946 100644 --- a/perl-install/partition_table/gpt.pm +++ b/perl-install/partition_table/gpt.pm @@ -118,6 +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)'; @pt[$_->{part_number}-1] = $_; } -- cgit v1.2.1