diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2015-03-27 09:47:13 -0400 |
---|---|---|
committer | Thomas Backlund <tmb@mageia.org> | 2015-03-27 22:32:59 +0159 |
commit | 6deb0e59982c923021492993bb6ed134183ce494 (patch) | |
tree | 0996e7510f0fe3ff2bb940549ac8e98e1fa9ce01 /perl-install/partition_table | |
parent | cec8a8ea2a524a6f9e5ea42750b9f0f54df873ce (diff) | |
download | drakx-6deb0e59982c923021492993bb6ed134183ce494.tar drakx-6deb0e59982c923021492993bb6ed134183ce494.tar.gz drakx-6deb0e59982c923021492993bb6ed134183ce494.tar.bz2 drakx-6deb0e59982c923021492993bb6ed134183ce494.tar.xz drakx-6deb0e59982c923021492993bb6ed134183ce494.zip |
fix fs_type returned by libparted for swaps
Diffstat (limited to 'perl-install/partition_table')
-rw-r--r-- | perl-install/partition_table/gpt.pm | 1 |
1 files changed, 1 insertions, 0 deletions
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] = $_; } |