dracut-020-22.git20120702
- fixed kernel modules install
This commit is contained in:
parent
c4a5a08163
commit
1837a53535
@ -0,0 +1,24 @@
|
|||||||
|
From ec61f0a3af894d2498d696464f12da2d500b9f39 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Harald Hoyer <harald@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
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
Name: dracut
|
Name: dracut
|
||||||
Version: 020
|
Version: 020
|
||||||
Release: 21.git20120702%{?dist}
|
Release: 22.git20120702%{?dist}
|
||||||
|
|
||||||
Summary: Initramfs generator using udev
|
Summary: Initramfs generator using udev
|
||||||
%if 0%{?fedora} || 0%{?rhel}
|
%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
|
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
|
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
|
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
|
BuildRequires: dash bash git
|
||||||
@ -372,6 +373,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%dir /var/lib/dracut/overlay
|
%dir /var/lib/dracut/overlay
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 02 2012 Harald Hoyer <harald@redhat.com> 020-22.git20120702
|
||||||
|
- fixed kernel modules install
|
||||||
|
|
||||||
* Mon Jul 02 2012 Harald Hoyer <harald@redhat.com> 020-21.git20120702
|
* Mon Jul 02 2012 Harald Hoyer <harald@redhat.com> 020-21.git20120702
|
||||||
- moved /usr/bin/dracut-install to /usr/lib
|
- moved /usr/bin/dracut-install to /usr/lib
|
||||||
- more speedups
|
- more speedups
|
||||||
|
Loading…
Reference in New Issue
Block a user