2012-04-16 13:55:53 +00:00
|
|
|
From 0a35a80b934a0a5a34e3c23244aca0caa440e5d4 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Harald Hoyer <harald@redhat.com>
|
|
|
|
Date: Mon, 16 Apr 2012 13:10:22 +0200
|
|
|
|
Subject: [PATCH] dracut.sh: log installed modules to
|
|
|
|
$initdir/lib/dracut/modules.txt
|
|
|
|
|
|
|
|
---
|
|
|
|
dracut.sh | 5 +++++
|
2012-05-22 09:49:50 +00:00
|
|
|
1 file changed, 5 insertions(+)
|
2012-04-16 13:55:53 +00:00
|
|
|
|
|
|
|
diff --git a/dracut.sh b/dracut.sh
|
|
|
|
index 7f61143..1048e75 100755
|
|
|
|
--- a/dracut.sh
|
|
|
|
+++ b/dracut.sh
|
|
|
|
@@ -720,6 +720,11 @@ for moddir in "$dracutbasedir/modules.d"/[0-9][0-9]*; do
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
unset moddir
|
|
|
|
+
|
|
|
|
+for i in $modules_loaded; do
|
|
|
|
+ echo "$i" >> $initdir/lib/dracut/modules.txt
|
|
|
|
+done
|
|
|
|
+
|
|
|
|
dinfo "*** Including modules done ***"
|
|
|
|
|
|
|
|
## final stuff that has to happen
|