forked from pool/multipath-tools
Accepting request 20150 from home:a_jaeger:branches:openSUSE:Factory
Copy from home:a_jaeger:branches:openSUSE:Factory/multipath-tools via accept of submit request 20150 revision 2. Request was accepted with message: reviewed ok, accepted OBS-URL: https://build.opensuse.org/request/show/20150 OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=4
This commit is contained in:
parent
07a04674d8
commit
b8c63b0b64
13
multipath-fix.patch
Normal file
13
multipath-fix.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: kpartx/kpartx.c
|
||||
===================================================================
|
||||
--- kpartx/kpartx.c.orig
|
||||
+++ kpartx/kpartx.c
|
||||
@@ -578,7 +578,7 @@ main(int argc, char **argv){
|
||||
continue;
|
||||
|
||||
if (!dm_simplecmd(DM_DEVICE_REMOVE,
|
||||
- partname)) {
|
||||
+ partname, 1)) {
|
||||
r++;
|
||||
continue;
|
||||
}
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 8 20:56:53 UTC 2009 - aj@suse.de
|
||||
|
||||
- Fix last patch, one caller of dm_simplecmd was not updated
|
||||
(multipath-fix.patch).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 21 15:49:47 CEST 2009 - hare@suse.de
|
||||
|
||||
|
@ -32,6 +32,7 @@ Summary: Tools to Manage Multipathed Devices with the device-mapper
|
||||
Source: multipath-tools-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Patch0: %{name}-%{version}-opensuse-11.2.diff.bz2
|
||||
Patch1: multipath-fix.patch
|
||||
|
||||
%description
|
||||
This package provides the tools to manage multipathed devices by
|
||||
@ -71,8 +72,9 @@ Authors:
|
||||
Christophe Varoqui <christophe.varoqui@free.fr>
|
||||
|
||||
%prep
|
||||
%setup -n multipath-tools-%{version}
|
||||
%setup -q -n multipath-tools-%{version}
|
||||
%patch0 -p1
|
||||
%patch1
|
||||
|
||||
%build
|
||||
# This package failed when testing with -Wl,-as-needed being default.
|
||||
|
Loading…
x
Reference in New Issue
Block a user