Accepting request 559489 from home:sparschauer:branches:Base:System

Amend patch headers (no functional change)

OBS-URL: https://build.opensuse.org/request/show/559489
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=137
This commit is contained in:
Sebastian Parschauer 2017-12-22 16:53:51 +00:00 committed by Git OBS Bridge
parent 3c3dbf367e
commit 891b7feb03
21 changed files with 89 additions and 28 deletions

View File

@ -1,3 +1,6 @@
From: Petr Uzel <petr.uzel@suse.cz>
Subject: parted: dos: Wipe boot code only on x86
Patch-mainline: no, custom SUSE patch
---
libparted/labels/dos.c | 7 +++++++
1 file changed, 7 insertions(+)

View File

@ -1,7 +1,8 @@
From 1e9e770f4bc7f3d80e09ecd1df58575fad064163 Mon Sep 17 00:00:00 2001
From: Mike Fleetwood <mike.fleetwood@googlemail.com>
Date: Sun, 28 Sep 2014 16:15:48 +0100
Subject: [PATCH] lib-fs-resize: Prevent crash resizing FAT16 file systems
Subject: lib-fs-resize: Prevent crash resizing FAT16 file systems
Patch-mainline: v3.3
Git-commit: 1e9e770f4bc7f3d80e09ecd1df58575fad064163
Resizing FAT16 file system crashes in libparted/fs/r/fat/resize.c
create_resize_context() because it was dereferencing NULL pointer

View File

@ -2,7 +2,8 @@ From: Sebastian Parschauer <sparschauer@suse.de>
Date: Mon, 23 Oct 2017 17:47:47 +0200
Subject: Add support for NVDIMM devices
References: bsc#1064446
Patch-mainline: submitted, 2017-10-24 10:22 +0200
Patch-mainline: v3.3
Git-commit: 71885c5f493f3a5d950adbb3e8d17eff7e023053
Recognize NVDIMM devices, so that "parted -s /dev/pmem7 p" now
prints "Model: NVDIMM Device (pmem)" instead of

View File

@ -1,7 +1,9 @@
From 02bb5fe15b89b0a0ffd4019c9d04f16c0af29d46 Mon Sep 17 00:00:00 2001
From: Petr Uzel <petr.uzel@suse.cz>
Date: Tue, 14 Jun 2016 10:41:18 +0200
Subject: [PATCH] Add support for NVMe devices
Subject: Add support for NVMe devices
References: bsc#982169
Patch-mainline: v3.3
Git-commit: e4ae4330f3e33201aeeed3b7ca88e15d98d03e13
Recognize NVMe Devices, so "parted -s /dev/nvme0n1" now prints
"NVMe Device (nvme)" instead of "Model: Unknown (unknown)".

View File

@ -1,8 +1,8 @@
From 44d5ae0115c4ecfe3158748309e9912c5aede92d Mon Sep 17 00:00:00 2001
From: "Brian C. Lane" <bcl@redhat.com>
Date: Thu, 6 Aug 2015 07:17:14 -0700
Subject: [PATCH] libparted: Use read only when probing devices on linux
(#1245144)
Subject: libparted: Use read only when probing devices on linux
Patch-mainline: v3.3
Git-commit: 44d5ae0115c4ecfe3158748309e9912c5aede92d
When a device is opened for RW closing it can trigger other actions,
like udev scanning it for partition changes. Use read only for the

View File

@ -1,7 +1,8 @@
From 2ef86fbe0fd8a6c4b48dd8edfbe41728a7343dac Mon Sep 17 00:00:00 2001
From: Petr Uzel <petr.uzel@suse.cz>
Date: Thu, 29 May 2014 14:50:31 +0200
Subject: [PATCH] libparted: allow bigger snap radius if cylinders are used
Subject: libparted: allow bigger snap radius if cylinders are used
References: bnc#879387
Patch-mainline: no, custom change for flexibility
This is partial revert of commit
@ -19,8 +20,6 @@ This is partial revert of commit
Only revert to the old behavior if cylinders are used in order to
give parted more flexibility when snapping the partition start/end.
References: bnc#879387
---
libparted/unit.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)

View File

@ -1,3 +1,6 @@
From: Petr Uzel <petr.uzel@suse.cz>
Subject: libparted: Avoid libdevice-mapper warnings
Patch-mainline: no, custom SUSE patch
---
libparted/arch/linux.c | 6 ++++++
1 file changed, 6 insertions(+)

View File

@ -1,3 +1,6 @@
From: Petr Uzel <petr.uzel@suse.cz>
Subject: libparted: dasd: Do not use first tracks
Patch-mainline: v3.3, solved a bit differently in 4126d0292c75
---
libparted/labels/dasd.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

View File

@ -1,3 +1,6 @@
From: Petr Uzel <petr.uzel@suse.cz>
Subject: libparted: dasd: Add an implicit partition disk flag
Patch-mainline: no, custom SUSE patch
---
include/parted/disk.in.h | 4 +++-
libparted/disk.c | 2 ++

View File

@ -1,3 +1,7 @@
From: Petr Uzel <petr.uzel@suse.cz>
Subject: libparted: Fix NVMe device naming
References: bsc#982169
Patch-mainline: no, required to fix custom SUSE device naming
---
libparted/arch/linux.c | 1 +
1 file changed, 1 insertion(+)

View File

@ -1,3 +1,6 @@
From: Petr Uzel <petr.uzel@suse.cz>
Subject: libparted: Make BLKRRPART more robust
Patch-mainline: no, upstream does not use BLKRRPART and leaves DASDs broken
---
libparted/arch/linux.c | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)

View File

@ -1,7 +1,8 @@
From 01900e056ec250836d15b5f5c3f59a8e1454b781 Mon Sep 17 00:00:00 2001
From: Phillip Susi <psusi@ubuntu.com>
Date: Mon, 4 Nov 2013 13:10:09 -0500
Subject: [PATCH] libparted: make sure not to treat percentages as exact
Subject: libparted: make sure not to treat percentages as exact
Patch-mainline: v3.2, custom part from puzel still required
Git-commit: 01900e056ec250836d15b5f5c3f59a8e1454b781
If 1% of the drive size worked out ot be an even power of
two, it would trigger the exact placement. Add an exception
@ -9,7 +10,6 @@ for the percent units.
Petr Uzel <puzel@suse.cz>:
Also avoid this logic when the unit is specified as cylinders.
---
libparted/unit.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

View File

@ -1,9 +1,8 @@
From ac422c32ae3be0e599f7b3f4ab6961b61129c4ba Mon Sep 17 00:00:00 2001
From: Petr Uzel <petr.uzel@suse.cz>
Date: Fri, 14 Feb 2014 09:12:47 +0100
Subject: [PATCH] libparted-used-BLKRRPART-for-DASD.patch
Addresses: bnc#862139
Subject: libparted: use BLKRRPART for DASDs
References: bnc#862139
Patch-mainline: no, upstream dropped proper DASD support
This reverts upstream commit 9fa0e1800db5b9f094ae481fd95a51da03f19e95.
This reverts upstream commit 1223b9fc07859cb619c80dc057bd05458f9b5669.

View File

@ -1,12 +1,15 @@
# bnc#657360
#
# This patch should make parted's process of informing the kernel
# about changes of partition table sligtly more reliable.
# It consists of 3 quite unrelated parts:
#
# 1. increase the max sleep time if partition is busy from 1 to 2 seconds
# 2. do not inform the kernel when only partition flags change - kernel
# does not care about the flags
From: Petr Uzel <petr.uzel@suse.cz>
Subject: parted: Make informing the kernel more reliable
References: bnc#657360
Patch-mainline: no
This patch should make parted's process of informing the kernel
about changes of partition table sligtly more reliable.
It consists of 2 quite unrelated parts:
* increase the max sleep time if partition is busy from 1 to 2 seconds
* do not inform the kernel when only partition flags change - kernel
does not care about the flags
---
libparted/arch/linux.c | 2 +-
parted/parted.c | 28 +++++++++++++++++++++++++++-

View File

@ -1,3 +1,6 @@
From: Petr Uzel <petr.uzel@suse.cz>
Subject: build: Add ncursesw6 support
Patch-mainline: no, custom SUSE patch
---
configure.ac | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)

View File

@ -1,3 +1,17 @@
From: Petr Uzel <petr.uzel@suse.cz>
Subject: build: Patch fatresize build into parted package
Patch-mainline: no, custom SUSE patch
Fatresize is used by YaST to resize FAT16/FAT32 file systems. It uses
libparted functions for that purpose but does not resize the FAT
partition afterward. That is the task of parted instead. So using it
without parted and YaST doesn't make much sense.
Versions more recent than 0.1 like e.g. 1.0.3 are incompatible and
risk data loss by silently increasing the FS size (See: bsc#1072479).
Upstream: https://github.com/ya-mouse/fatresize
[sparschauer: Wrote the patch description]
---
Makefile.am | 2 +-
configure.ac | 1 +

View File

@ -1,3 +1,6 @@
From: Petr Uzel <petr.uzel@suse.cz>
Subject: parted: mac: Print the system name
Patch-mainline: no, custom SUSE patch
---
include/parted/disk.in.h | 9 +++++++--
libparted/disk.c | 33 +++++++++++++++++++++++++++++++++

View File

@ -1,3 +1,6 @@
From: Petr Uzel <petr.uzel@suse.cz>
Subject: parted: Add an "resize" alias for "resizepart"
Patch-mainline: no, compatibility for parted < 3.0 syntax
---
parted/parted.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)

View File

@ -1,3 +1,9 @@
From: Petr Uzel <petr.uzel@suse.cz>
Subject: parted: Introduce a type flag
Patch-mainline: no, required by YaST
YaST requires a type flag in order to check the current partition
type for msdos partition tables.
---
include/parted/disk.in.h | 5 ++-
libparted/disk.c | 2 +

View File

@ -1,3 +1,6 @@
From: Petr Uzel <petr.uzel@suse.cz>
Subject: parted: dos: Wipe AIX FS signatures
Patch-mainline: no, custom SUSE patch
---
libparted/labels/dos.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Dec 22 17:23:25 CET 2017 - sparschauer@suse.de
- Amend patch headers (no functional change)
-------------------------------------------------------------------
Tue Dec 19 17:23:10 UTC 2017 - sparschauer@suse.de