- 0001-systemd-various-fixes-for-boot-with-container-arrays.patch

various fixes to improve boot-from-DDF or IMSM
  (bnc#866660)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=106
This commit is contained in:
Neil Brown
2014-04-08 07:39:43 +00:00
committed by Git OBS Bridge
parent ceac01b560
commit 19460dbde5
4 changed files with 93 additions and 6 deletions

View File

@@ -40,7 +40,6 @@ Source2: sysconfig.mdadm
Source5: mkinitrd-setup.sh
Source6: mkinitrd-boot.sh
Source7: mdadm.cron
Source8: mdadm.shutdown
Source9: systemd-mdadm-last-resort@.timer
Source10: systemd-mdadm-last-resort@.service
# PATCH-FIX-UPSTREAM config-set-auto_seen-after-processing-the-auto-line.patch upstream-bugfix nfbrown@suse.de
@@ -121,6 +120,8 @@ Patch40: 0002-DDF-guard-against-pdnum-being-negative.patch
Patch41: 0003-DDF-fix-possible-mdmon-crash-when-updating-metadata.patch
# PATCH-FIX-UPSTREAM 0004-DDF-Don-t-fail-compare_super_ddf-due-to-re-configure.patch bnc#866660 nfbrown@suse.de
Patch42: 0004-DDF-Don-t-fail-compare_super_ddf-due-to-re-configure.patch
# PATCH-FIX-UPSTREAM 0001-systemd-various-fixes-for-boot-with-container-arrays.patch bnc#866660 nfbrown@suse.de
Patch43: 0001-systemd-various-fixes-for-boot-with-container-arrays.patch
%define _udevdir %(pkg-config --variable=udevdir udev)
%define _systemdshutdowndir %{_unitdir}/../system-shutdown
@@ -171,6 +172,7 @@ programs but with a very different interface.
%patch40 -p1
%patch41 -p1
%patch42 -p1
%patch43 -p1
%build
make %{?_smp_mflags} CC="%__cc" CXFLAGS="$RPM_OPT_FLAGS -Wno-error" SUSE=yes
@@ -190,7 +192,6 @@ install -d %{buildroot}/etc/cron.daily
install -m 755 %{S:7} %{buildroot}/etc/cron.daily/mdadm
install -m 644 %{S:2} %{buildroot}%{_var}/adm/fillup-templates/
install -d %{buildroot}%{_systemdshutdowndir}
install -m 755 %{S:8} %{buildroot}%{_systemdshutdowndir}/mdadm.shutdown
install -m 644 %{S:9} %{buildroot}%{_unitdir}/mdadm-last-resort@.timer
install -m 644 %{S:10} %{buildroot}%{_unitdir}/mdadm-last-resort@.service