Search
j0ke.net Open Build Service
>
Projects
>
home:jg
:
playground
>
dracut
> 0143-dmraid-switch-to-rd_NO_MDIMSM-if-no-mdadm-installed.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File 0143-dmraid-switch-to-rd_NO_MDIMSM-if-no-mdadm-installed.patch of Package dracut
From e48ff7a5efe3cabc137c5f29aced884e006805b7 Mon Sep 17 00:00:00 2001 From: Harald Hoyer <harald@redhat.com> Date: Mon, 23 Aug 2010 14:42:33 +0200 Subject: [PATCH] dmraid: switch to rd_NO_MDIMSM, if no mdadm installed --- modules.d/90dmraid/parse-dm.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules.d/90dmraid/parse-dm.sh b/modules.d/90dmraid/parse-dm.sh index f031569..63780bd 100644 --- a/modules.d/90dmraid/parse-dm.sh +++ b/modules.d/90dmraid/parse-dm.sh @@ -3,3 +3,9 @@ if getarg rd_NO_DM || getarg nodmraid; then info "rd_NO_DM: removing DM RAID activation" udevproperty rd_NO_DM=1 fi + +if [ ! -x /sbin/mdadm ] || getarg rd_NO_MDIMSM || getarg noiswmd; then + info "rd_NO_MDIMSM: no MD RAID for imsm/isw raids" + udevproperty rd_NO_MDIMSM=1 +fi + -- 1.8.3.1