Accepting request 453415 from Base:System

1

OBS-URL: https://build.opensuse.org/request/show/453415
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dracut?expand=0&rev=103
This commit is contained in:
Dominique Leuenberger 2017-02-02 14:30:02 +00:00 committed by Git OBS Bridge
commit 643fb3a7f9
3 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,30 @@
From a113e853f71050aa6f05982ecf16660603f98825 Mon Sep 17 00:00:00 2001
From: Daniel Molkentin <dmolkentin@suse.com>
Date: Mon, 30 Jan 2017 11:10:40 +0100
Subject: [PATCH] Allow booting from degraded MD RAID arrays
bnc#1017695
---
modules.d/90mdraid/module-setup.sh | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/modules.d/90mdraid/module-setup.sh b/modules.d/90mdraid/module-setup.sh
index 13ef9fe..962b3a4 100755
--- a/modules.d/90mdraid/module-setup.sh
+++ b/modules.d/90mdraid/module-setup.sh
@@ -119,6 +119,12 @@ install() {
if [ -e $systemdsystemunitdir/mdmon@.service ]; then
inst_simple $systemdsystemunitdir/mdmon@.service
fi
+ if [ -e $systemdsystemunitdir/mdadm-last-resort@.service ]; then
+ inst_simple $systemdsystemunitdir/mdadm-last-resort@.service
+ fi
+ if [ -e $systemdsystemunitdir/mdadm-last-resort@.timer ]; then
+ inst_simple $systemdsystemunitdir/mdadm-last-resort@.timer
+ fi
fi
inst_hook pre-shutdown 30 "$moddir/mdmon-pre-shutdown.sh"
}
--
2.10.2

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jan 26 10:10:58 UTC 2017 - daniel.molkentin@suse.com
- Allow booting from degrated MD arrays with systemd
* add 0505-Allow-booting-from-degraded-MD-RAID-arrays.patch
-------------------------------------------------------------------
Mon Jan 16 19:44:07 UTC 2017 - daniel.molkentin@suse.com

View File

@ -182,6 +182,7 @@ Patch501: 0501-dasd_fix_ssid_bigger_zero.patch
Patch502: 0502-persistent_device_policy_param_enhance.patch
Patch503: 0503-dracut.sh-create-the-initramfs-non-world-readable-al.patch
Patch504: 0504-ibft-fix-boot-flag-check.patch
Patch505: 0505-Allow-booting-from-degraded-MD-RAID-arrays.patch
BuildRequires: asciidoc
BuildRequires: bash
@ -388,6 +389,7 @@ chmod a+x modules.d/91zipl/install_zipl_cmdline.sh
%patch502 -p1
%patch503 -p1
%patch504 -p1
%patch505 -p1
%build
%configure\