forked from pool/kdump
Accepting request 247201 from Kernel:kdump
1 OBS-URL: https://build.opensuse.org/request/show/247201 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kdump?expand=0&rev=76
This commit is contained in:
commit
8c39d7be86
26
0001-multipath-Write-proper-regex-into-multipath-conf.patch
Normal file
26
0001-multipath-Write-proper-regex-into-multipath-conf.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
From 4ce21a05fdfa91cb894d140c1962b29fb4b1431a Mon Sep 17 00:00:00 2001
|
||||||
|
From: Julian Wolf <juwolf@suse.de>
|
||||||
|
Date: Mon, 1 Sep 2014 15:46:21 +0200
|
||||||
|
Subject: multipath: Write proper regex into multipath.conf
|
||||||
|
|
||||||
|
Signed-off-by: Julian Wolf <juwolf@suse.de>
|
||||||
|
---
|
||||||
|
kdumptool/multipath.cc | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/kdumptool/multipath.cc b/kdumptool/multipath.cc
|
||||||
|
index 4ffe493..a9acafc 100644
|
||||||
|
--- a/kdumptool/multipath.cc
|
||||||
|
+++ b/kdumptool/multipath.cc
|
||||||
|
@@ -206,7 +206,7 @@ void AddBlacklistHandler::outputLine(const string &raw)
|
||||||
|
// -----------------------------------------------------------------------------
|
||||||
|
void AddBlacklistHandler::doBlacklist(lineHandler handler)
|
||||||
|
{
|
||||||
|
- (this->*handler)("\twwid \"*\"\n");
|
||||||
|
+ (this->*handler)("\twwid \".*\"\n");
|
||||||
|
m_blacklist_done = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
--
|
||||||
|
1.8.1.4
|
||||||
|
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 1 14:21:38 UTC 2014 - juwolf@suse.com
|
||||||
|
|
||||||
|
- Write proper regex into multipath.conf to prevent syntax error there
|
||||||
|
(bnc#883883)
|
||||||
|
Add: 0001-multipath-Write-proper-regex-into-multipath-conf.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Aug 18 10:18:48 UTC 2014 - ptesarik@suse.cz
|
Mon Aug 18 10:18:48 UTC 2014 - ptesarik@suse.cz
|
||||||
|
|
||||||
|
@ -64,6 +64,7 @@ PreReq: mkinitrd
|
|||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Source2: %{name}-rpmlintrc
|
Source2: %{name}-rpmlintrc
|
||||||
Source3: kdump.service
|
Source3: kdump.service
|
||||||
|
Patch0: 0001-multipath-Write-proper-regex-into-multipath-conf.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
# rename "kdump-helpers" (10.3) -> "kdump" (11.0/SP2)
|
# rename "kdump-helpers" (10.3) -> "kdump" (11.0/SP2)
|
||||||
Provides: kdump-helpers = %{version}
|
Provides: kdump-helpers = %{version}
|
||||||
@ -101,6 +102,7 @@ Authors:
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup
|
%setup
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%optflags"
|
export CFLAGS="%optflags"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user