Blame 0021-dracut-functions.sh-forgot-set-version-kernel-for-mo.patch
|
Harald Hoyer |
1837a5 |
From ec61f0a3af894d2498d696464f12da2d500b9f39 Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
1837a5 |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
1837a5 |
Date: Mon, 2 Jul 2012 22:14:49 +0200
|
|
Harald Hoyer |
1837a5 |
Subject: [PATCH] dracut-functions.sh: forgot --set-version $kernel for
|
|
Harald Hoyer |
1837a5 |
modprobe
|
|
Harald Hoyer |
1837a5 |
|
|
Harald Hoyer |
1837a5 |
---
|
|
Harald Hoyer |
1837a5 |
dracut-functions.sh | 3 ++-
|
|
Harald Hoyer |
1837a5 |
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
Harald Hoyer |
1837a5 |
|
|
Harald Hoyer |
1837a5 |
diff --git a/dracut-functions.sh b/dracut-functions.sh
|
|
Harald Hoyer |
1837a5 |
index eabbb0d..2898c30 100755
|
|
Harald Hoyer |
1837a5 |
--- a/dracut-functions.sh
|
|
Harald Hoyer |
1837a5 |
+++ b/dracut-functions.sh
|
|
Harald Hoyer |
1837a5 |
@@ -1201,7 +1201,8 @@ dracut_kernel_post() {
|
|
Harald Hoyer |
1837a5 |
local _moddirname=${srcmods%%/lib/modules/*}
|
|
Harald Hoyer |
1837a5 |
|
|
Harald Hoyer |
1837a5 |
if [[ $DRACUT_KERNEL_LAZY_HASHDIR ]] && [[ -f "$DRACUT_KERNEL_LAZY_HASHDIR/lazylist" ]]; then
|
|
Harald Hoyer |
1837a5 |
- xargs -r modprobe -a ${_moddirname+-d ${_moddirname}/} --ignore-install --show-depends \
|
|
Harald Hoyer |
1837a5 |
+ xargs -r modprobe -a ${_moddirname+-d ${_moddirname}/} \
|
|
Harald Hoyer |
1837a5 |
+ --ignore-install --show-depends --set-version $kernel \
|
|
Harald Hoyer |
1837a5 |
< "$DRACUT_KERNEL_LAZY_HASHDIR/lazylist" 2>/dev/null \
|
|
Harald Hoyer |
1837a5 |
| sort -u \
|
|
Harald Hoyer |
1837a5 |
| while read _cmd _modpath _options; do
|