- mdcheck-no-devices.fix

mdcheck mustn't report an error if not md devices
  exist (bnc#903051)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=124
This commit is contained in:
Neil Brown
2014-11-03 00:26:47 +00:00
committed by Git OBS Bridge
parent 5353775bea
commit 246689df82
3 changed files with 24 additions and 0 deletions

View File

@@ -42,6 +42,8 @@ Source7: mdadm.cron
Patch1: 0001-Makefile-install-mdadm-grow-continue-.service.patch
# PATCH-FIX-UPSTREAM 0001-Grow-fix-removal-of-line-in-wrong-case.patch bnc#881530 nfbrown@suse.de
Patch2: 0001-Grow-fix-removal-of-line-in-wrong-case.patch
# PATCH-FIX-UPSTREAM mdcheck-no-devices.fix bnc#903051 nfbrown@suse.de
Patch3: mdcheck-no-devices.fix
%define _udevdir %(pkg-config --variable=udevdir udev)
%define _systemdshutdowndir %{_unitdir}/../system-shutdown
@@ -55,6 +57,7 @@ programs but with a very different interface.
%setup -q -a1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
make %{?_smp_mflags} CC="%__cc" CXFLAGS="$RPM_OPT_FLAGS -Wno-error" SUSE=yes