|
|
712866 |
From 52923f5f2a3890449d59aa8a251f9116ab260e7f Mon Sep 17 00:00:00 2001
|
|
|
712866 |
From: Harald Hoyer <harald@redhat.com>
|
|
|
712866 |
Date: Thu, 5 Dec 2013 15:06:06 +0100
|
|
|
712866 |
Subject: [PATCH] dracut-functions.sh: do not force require modules.builtin*
|
|
|
712866 |
|
|
|
712866 |
(cherry picked from commit b29cb51654db13706c7356aa827e554456b25b0a)
|
|
|
712866 |
---
|
|
|
712866 |
dracut-functions.sh | 7 -------
|
|
|
712866 |
dracut.sh | 2 +-
|
|
|
712866 |
2 files changed, 1 insertion(+), 8 deletions(-)
|
|
|
712866 |
|
|
|
712866 |
diff --git a/dracut-functions.sh b/dracut-functions.sh
|
|
|
712866 |
index 0002556..8a0cd30 100755
|
|
|
712866 |
--- a/dracut-functions.sh
|
|
|
712866 |
+++ b/dracut-functions.sh
|
|
|
712866 |
@@ -1455,13 +1455,6 @@ dracut_kernel_post() {
|
|
|
712866 |
wait $_pid
|
|
|
712866 |
fi
|
|
|
712866 |
|
|
|
712866 |
- for _f in modules.builtin.bin modules.builtin; do
|
|
|
712866 |
- [[ $srcmods/$_f ]] && break
|
|
|
712866 |
- done || {
|
|
|
712866 |
- dfatal "No modules.builtin.bin and modules.builtin found!"
|
|
|
712866 |
- return 1
|
|
|
712866 |
- }
|
|
|
712866 |
-
|
|
|
712866 |
for _f in modules.builtin.bin modules.builtin modules.order; do
|
|
|
712866 |
[[ $srcmods/$_f ]] && inst_simple "$srcmods/$_f" "/lib/modules/$kernel/$_f"
|
|
|
712866 |
done
|
|
|
712866 |
diff --git a/dracut.sh b/dracut.sh
|
|
|
712866 |
index 7d5c9e0..f560dd1 100755
|
|
|
712866 |
--- a/dracut.sh
|
|
|
712866 |
+++ b/dracut.sh
|
|
|
712866 |
@@ -518,7 +518,7 @@ if [[ $regenerate_all == "yes" ]]; then
|
|
|
712866 |
|
|
|
712866 |
cd /lib/modules
|
|
|
712866 |
for i in *; do
|
|
|
712866 |
- [[ -f $i/modules.builtin ]] || continue
|
|
|
712866 |
+ [[ -f $i/modules.dep ]] || [[ -f $i/modules.dep.bin ]] || continue
|
|
|
712866 |
dracut --kver="$i" "${dracut_args[@]}"
|
|
|
712866 |
((ret+=$?))
|
|
|
712866 |
done
|