diff options
Diffstat (limited to 'sys-kernel/dracut/files/dracut-010-rd.driver.pre-and-blacklist-fix.patch')
-rw-r--r-- | sys-kernel/dracut/files/dracut-010-rd.driver.pre-and-blacklist-fix.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/sys-kernel/dracut/files/dracut-010-rd.driver.pre-and-blacklist-fix.patch b/sys-kernel/dracut/files/dracut-010-rd.driver.pre-and-blacklist-fix.patch new file mode 100644 index 000000000000..58d4287e5309 --- /dev/null +++ b/sys-kernel/dracut/files/dracut-010-rd.driver.pre-and-blacklist-fix.patch @@ -0,0 +1,35 @@ +From ce09d0ea4ddf01076453de6dde6f86cf6f12113d Mon Sep 17 00:00:00 2001 +From: Harald Hoyer <harald@redhat.com> +Date: Fri, 6 May 2011 12:06:20 +0200 +Subject: [PATCH 1/2] parse-kernel.sh: wrong index was used in for loop + +Thanks Mike Snitzer <msnitzer@redhat.com> +--- + modules.d/90kernel-modules/parse-kernel.sh | 4 ++-- + 1 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/modules.d/90kernel-modules/parse-kernel.sh b/modules.d/90kernel-modules/parse-kernel.sh +index fceccaa..9323d42 100755 +--- a/modules.d/90kernel-modules/parse-kernel.sh ++++ b/modules.d/90kernel-modules/parse-kernel.sh +@@ -2,7 +2,7 @@ + # -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*- + # ex: ts=8 sw=4 sts=4 et filetype=sh + +-for p in $(getargs rd.driver.pre rdloaddriver=); do ++for i in $(getargs rd.driver.pre rdloaddriver=); do + ( + IFS=, + for p in $i; do +@@ -11,7 +11,7 @@ for p in $(getargs rd.driver.pre rdloaddriver=); do + ) + done + +-for p in $(getargs rd.driver.blacklist rdblacklist=); do ++for i in $(getargs rd.driver.blacklist rdblacklist=); do + ( + IFS=, + for p in $i; do +-- +1.7.5.3 + |