[dracut] dracut-020-22.git20120702

Harald Hoyer harald at fedoraproject.org
Mon Jul 2 20:17:31 UTC 2012


commit 1837a53535a7c958f250c55528242301f89c8015
Author: Harald Hoyer <harald at redhat.com>
Date:   Mon Jul 2 22:17:01 2012 +0200

    dracut-020-22.git20120702
    
    - fixed kernel modules install

 ...tions.sh-forgot-set-version-kernel-for-mo.patch |   24 ++++++++++++++++++++
 dracut.spec                                        |    6 ++++-
 2 files changed, 29 insertions(+), 1 deletions(-)
---
diff --git a/0021-dracut-functions.sh-forgot-set-version-kernel-for-mo.patch b/0021-dracut-functions.sh-forgot-set-version-kernel-for-mo.patch
new file mode 100644
index 0000000..9e6a224
--- /dev/null
+++ b/0021-dracut-functions.sh-forgot-set-version-kernel-for-mo.patch
@@ -0,0 +1,24 @@
+From ec61f0a3af894d2498d696464f12da2d500b9f39 Mon Sep 17 00:00:00 2001
+From: Harald Hoyer <harald at redhat.com>
+Date: Mon, 2 Jul 2012 22:14:49 +0200
+Subject: [PATCH] dracut-functions.sh: forgot --set-version $kernel for
+ modprobe
+
+---
+ dracut-functions.sh |    3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/dracut-functions.sh b/dracut-functions.sh
+index eabbb0d..2898c30 100755
+--- a/dracut-functions.sh
++++ b/dracut-functions.sh
+@@ -1201,7 +1201,8 @@ dracut_kernel_post() {
+     local _moddirname=${srcmods%%/lib/modules/*}
+ 
+     if [[ $DRACUT_KERNEL_LAZY_HASHDIR ]] && [[ -f "$DRACUT_KERNEL_LAZY_HASHDIR/lazylist" ]]; then
+-        xargs -r modprobe -a ${_moddirname+-d ${_moddirname}/} --ignore-install --show-depends \
++        xargs -r modprobe -a ${_moddirname+-d ${_moddirname}/} \
++            --ignore-install --show-depends --set-version $kernel \
+             < "$DRACUT_KERNEL_LAZY_HASHDIR/lazylist" 2>/dev/null \
+             | sort -u \
+             | while read _cmd _modpath _options; do
diff --git a/dracut.spec b/dracut.spec
index 5676437..691ab09 100644
--- a/dracut.spec
+++ b/dracut.spec
@@ -10,7 +10,7 @@
 
 Name: dracut
 Version: 020
-Release: 21.git20120702%{?dist}
+Release: 22.git20120702%{?dist}
 
 Summary: Initramfs generator using udev
 %if 0%{?fedora} || 0%{?rhel}
@@ -49,6 +49,7 @@ Patch17: 0017-TEST-02-SYSTEMD-enlarge-the-root-disk.patch
 Patch18: 0018-dracut-functions.sh-create-initdir-if-it-does-not-ex.patch
 Patch19: 0019-dracut-install.c-for-lazy-install-shebangs-do-not-ch.patch
 Patch20: 0020-usrmount-mount-usr.sh-give-emergency_shell-if-usr-mo.patch
+Patch21: 0021-dracut-functions.sh-forgot-set-version-kernel-for-mo.patch
 
 
 BuildRequires: dash bash git
@@ -372,6 +373,9 @@ rm -rf $RPM_BUILD_ROOT
 %dir /var/lib/dracut/overlay
 
 %changelog
+* Mon Jul 02 2012 Harald Hoyer <harald at redhat.com> 020-22.git20120702
+- fixed kernel modules install
+
 * Mon Jul 02 2012 Harald Hoyer <harald at redhat.com> 020-21.git20120702
 - moved /usr/bin/dracut-install to /usr/lib
 - more speedups


More information about the scm-commits mailing list