This commit is contained in:
parent
88364d9122
commit
d0ba850831
32
parted-1.8.7-linux-swap.patch
Normal file
32
parted-1.8.7-linux-swap.patch
Normal file
@ -0,0 +1,32 @@
|
||||
jokers.
|
||||
|
||||
---
|
||||
libparted/fs/linux_swap/linux_swap.c | 8 ++++++++
|
||||
1 file changed, 8 insertions(+)
|
||||
|
||||
Index: parted-1.8.7/libparted/fs/linux_swap/linux_swap.c
|
||||
===================================================================
|
||||
--- parted-1.8.7.orig/libparted/fs/linux_swap/linux_swap.c
|
||||
+++ parted-1.8.7/libparted/fs/linux_swap/linux_swap.c
|
||||
@@ -719,6 +719,13 @@ static PedFileSystemType _swap_v2_type =
|
||||
block_sizes: LINUXSWAP_BLOCK_SIZES
|
||||
};
|
||||
|
||||
+static PedFileSystemType _swap_default_type = {
|
||||
+ next: NULL,
|
||||
+ ops: &_swap_v2_ops,
|
||||
+ name: "linux-swap",
|
||||
+ block_sizes: LINUXSWAP_BLOCK_SIZES
|
||||
+};
|
||||
+
|
||||
static PedFileSystemType _swap_swsusp_type = {
|
||||
next: NULL,
|
||||
ops: &_swap_swsusp_ops,
|
||||
@@ -729,6 +736,7 @@ static PedFileSystemType _swap_swsusp_ty
|
||||
void
|
||||
ped_file_system_linux_swap_init ()
|
||||
{
|
||||
+ ped_file_system_type_register (&_swap_default_type);
|
||||
ped_file_system_type_register (&_swap_v1_type);
|
||||
ped_file_system_type_register (&_swap_v2_type);
|
||||
ped_file_system_type_register (&_swap_swsusp_type);
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun May 13 19:25:16 CEST 2007 - olh@suse.de
|
||||
|
||||
- restore mkpart linux-swap syntax (#274080)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 10 14:01:52 CEST 2007 - fehr@suse.de
|
||||
|
||||
|
@ -17,7 +17,7 @@ License: GNU General Public License (GPL)
|
||||
Group: System/Filesystems
|
||||
Summary: GNU partitioner
|
||||
Version: 1.8.7
|
||||
Release: 1
|
||||
Release: 3
|
||||
Source0: %{name}-%{version}.tar.bz2
|
||||
Patch: always-resize-part.dif
|
||||
Patch1: parted-type.patch
|
||||
@ -28,6 +28,7 @@ Patch6: etherd_support.diff
|
||||
Patch7: parted-1.8.3.dif
|
||||
Patch8: fat16_hfs_fix.dif
|
||||
Patch9: always_print_geom.diff
|
||||
Patch42: parted-1.8.7-linux-swap.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
URL: http://www.gnu.org/software/parted/
|
||||
PreReq: %install_info_prereq
|
||||
@ -64,6 +65,7 @@ Authors:
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch42 -p1
|
||||
%patch
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
@ -120,6 +122,8 @@ rm -rf "$RPM_BUILD_ROOT"
|
||||
%{_libdir}/*.so
|
||||
|
||||
%changelog
|
||||
* Sun May 13 2007 - olh@suse.de
|
||||
- restore mkpart linux-swap syntax (#274080)
|
||||
* Thu May 10 2007 - fehr@suse.de
|
||||
- Update to new version 1.8.7
|
||||
Fix primary partition cylinder alignment error for DOS disk labels
|
||||
|
Loading…
Reference in New Issue
Block a user