- Only change the partition type to 82 when setting the swap flag on dos
labels, not when resetting it
This commit is contained in:
parent
128ba94266
commit
5caeecc0e0
@ -109,7 +109,7 @@ index 7ec15ee..f8307c5 100644
|
||||
+ dos_data->prep = 0;
|
||||
+ }
|
||||
+ dos_data->swap = state;
|
||||
+ return ped_partition_set_system (part, ped_file_system_type_get("linux-swap"));
|
||||
+ return ped_partition_set_system (part, part->fs_type);
|
||||
+
|
||||
default:
|
||||
return 0;
|
||||
|
@ -4,7 +4,7 @@
|
||||
Summary: The GNU disk partition manipulation program
|
||||
Name: parted
|
||||
Version: 1.9.0
|
||||
Release: 16%{?dist}
|
||||
Release: 17%{?dist}
|
||||
License: GPLv3+
|
||||
Group: Applications/System
|
||||
URL: http://www.gnu.org/software/parted
|
||||
@ -142,6 +142,10 @@ fi
|
||||
%{_exec_prefix}/%{_lib}/pkgconfig/libparted.pc
|
||||
|
||||
%changelog
|
||||
* Thu Oct 8 2009 Hans de Goede <hdegoede@redhat.com> 1.9.0-17
|
||||
- Only change the partition type to 82 when setting the swap flag on dos
|
||||
labels, not when resetting it
|
||||
|
||||
* Tue Oct 6 2009 Hans de Goede <hdegoede@redhat.com> 1.9.0-16
|
||||
- Correctly handle GPT labels on big endian machines
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user