Blame 0006-dracut-functions.sh-instmods-removed-special-case-fo.patch
|
Harald Hoyer |
66318b |
From edea870c3cade3a9f8836e75afa98587945908d2 Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
66318b |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
66318b |
Date: Sat, 25 Feb 2012 16:09:38 +0100
|
|
Harald Hoyer |
66318b |
Subject: [PATCH] dracut-functions.sh: instmods() removed special case for
|
|
Harald Hoyer |
66318b |
"=ata"
|
|
Harald Hoyer |
66318b |
|
|
Harald Hoyer |
66318b |
---
|
|
Harald Hoyer |
66318b |
dracut-functions.sh | 8 +-------
|
|
Harald Hoyer |
66318b |
1 files changed, 1 insertions(+), 7 deletions(-)
|
|
Harald Hoyer |
66318b |
|
|
Harald Hoyer |
66318b |
diff --git a/dracut-functions.sh b/dracut-functions.sh
|
|
Harald Hoyer |
66318b |
index 81801e1..bd3203d 100755
|
|
Harald Hoyer |
66318b |
--- a/dracut-functions.sh
|
|
Harald Hoyer |
66318b |
+++ b/dracut-functions.sh
|
|
Harald Hoyer |
66318b |
@@ -1103,13 +1103,7 @@ instmods() {
|
|
Harald Hoyer |
66318b |
local _mod="$1"
|
|
Harald Hoyer |
66318b |
case $_mod in
|
|
Harald Hoyer |
66318b |
=*)
|
|
Harald Hoyer |
66318b |
- # This introduces 2 incompatible meanings for =* arguments
|
|
Harald Hoyer |
66318b |
- # to instmods. We need to decide which one to keep.
|
|
Harald Hoyer |
66318b |
- if [[ $_mod = =ata && -f $srcmods/modules.block ]]; then
|
|
Harald Hoyer |
66318b |
- ( [[ "$_mpargs" ]] && echo $_mpargs
|
|
Harald Hoyer |
66318b |
- egrep 'ata|ahci' "${srcmods}/modules.block" ) \
|
|
Harald Hoyer |
66318b |
- | instmods
|
|
Harald Hoyer |
66318b |
- elif [ -f $srcmods/modules.${_mod#=} ]; then
|
|
Harald Hoyer |
66318b |
+ if [ -f $srcmods/modules.${_mod#=} ]; then
|
|
Harald Hoyer |
66318b |
( [[ "$_mpargs" ]] && echo $_mpargs
|
|
Harald Hoyer |
66318b |
cat "${srcmods}/modules.${_mod#=}" ) \
|
|
Harald Hoyer |
66318b |
| instmods
|