Accepting request 212452 from Base:System
- Fix partition device names on MMC devices (bnc#847580) - libparted-fix-mmcblk-partition-name.patch OBS-URL: https://build.opensuse.org/request/show/212452 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/parted?expand=0&rev=88
This commit is contained in:
commit
637c308f57
18
libparted-fix-mmcblk-partition-name.patch
Normal file
18
libparted-fix-mmcblk-partition-name.patch
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
---
|
||||||
|
libparted/arch/linux.c | 3 ++-
|
||||||
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
Index: parted-2.4/libparted/arch/linux.c
|
||||||
|
===================================================================
|
||||||
|
--- parted-2.4.orig/libparted/arch/linux.c
|
||||||
|
+++ parted-2.4/libparted/arch/linux.c
|
||||||
|
@@ -2227,7 +2227,8 @@ _device_get_part_path (PedDevice *dev, i
|
||||||
|
(int) (path_len - 5), dev->path, num);
|
||||||
|
} else {
|
||||||
|
const char *p;
|
||||||
|
- if (dev->type == PED_DEVICE_CPQARRAY)
|
||||||
|
+ if (dev->type == PED_DEVICE_CPQARRAY ||
|
||||||
|
+ dev->type == PED_DEVICE_SDMMC)
|
||||||
|
p = "p";
|
||||||
|
else
|
||||||
|
p = (dev->type == PED_DEVICE_DAC960
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 30 09:15:06 UTC 2013 - puzel@suse.com
|
||||||
|
|
||||||
|
- Fix partition device names on MMC devices (bnc#847580)
|
||||||
|
- libparted-fix-mmcblk-partition-name.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 17 08:27:12 UTC 2013 - mlin@suse.com
|
Tue Sep 17 08:27:12 UTC 2013 - mlin@suse.com
|
||||||
|
|
||||||
|
@ -53,6 +53,7 @@ Patch22: fix-error-informing-the-kernel.patch
|
|||||||
Patch23: parted-fix-gpt-sync-on-BE-systems.patch
|
Patch23: parted-fix-gpt-sync-on-BE-systems.patch
|
||||||
Patch24: parted-btrfs-support.patch
|
Patch24: parted-btrfs-support.patch
|
||||||
Patch25: parted-Add-Intel-Rapid-Start-Technology-partition.patch
|
Patch25: parted-Add-Intel-Rapid-Start-Technology-partition.patch
|
||||||
|
Patch26: libparted-fix-mmcblk-partition-name.patch
|
||||||
Requires: /sbin/udevadm
|
Requires: /sbin/udevadm
|
||||||
BuildRequires: check-devel
|
BuildRequires: check-devel
|
||||||
BuildRequires: device-mapper-devel >= 1.02.33
|
BuildRequires: device-mapper-devel >= 1.02.33
|
||||||
@ -130,6 +131,7 @@ to develop applications that require these.
|
|||||||
%patch23 -p1
|
%patch23 -p1
|
||||||
%patch24 -p1
|
%patch24 -p1
|
||||||
%patch25 -p1
|
%patch25 -p1
|
||||||
|
%patch26 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags} `ncursesw6-config --cflags`"
|
export CFLAGS="%{optflags} `ncursesw6-config --cflags`"
|
||||||
|
Loading…
Reference in New Issue
Block a user