dracut/0008-dracut.sh-log-installed-modules-to-initdir-lib-dracu.patch
Harald Hoyer 0c26bf1316 dracut-018-40.git20120504
- new upstream version
2012-05-04 13:03:29 +02:00

27 lines
679 B
Diff

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 +++++
1 Datei geändert, 5 Zeilen hinzugefügt(+)
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