308f04f080
- Add 0402-driver-fail-summary.patch: - Port 0169-Enabled-Warning-for-failed-kernel-modules-per-defaul.patch: Subject: Enable warning for failed kernel moduiles Enabled Warning for failed kernel modules per default and added summary of those to the end of dracut output References: bnc#886839 - Disable inline warnings in favour of summary - Add 0203-no-fail-builtin-module.patch: Don't let inst1mod fail if module is built-in - Fixes bsc#935563 OBS-URL: https://build.opensuse.org/request/show/342283 OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=235
32 lines
937 B
Diff
32 lines
937 B
Diff
From a7996e5e33c0456c96764dfb1ab35c0a59134ccc Mon Sep 17 00:00:00 2001
|
|
From: Fabian Vogt <fvogt@suse.com>
|
|
Date: Tue, 3 Nov 2015 16:29:21 +0100
|
|
Subject: [PATCH] Don't let inst1mod fail if module is built-in
|
|
|
|
- Fixes bsc#935563
|
|
|
|
Signed-off-by: Fabian Vogt <fvogt@suse.com>
|
|
---
|
|
dracut-functions.sh | 5 +++++
|
|
1 file changed, 5 insertions(+)
|
|
|
|
diff --git a/dracut-functions.sh b/dracut-functions.sh
|
|
index b666446..e5be295 100755
|
|
--- a/dracut-functions.sh
|
|
+++ b/dracut-functions.sh
|
|
@@ -1721,6 +1721,11 @@ instmods() {
|
|
return 0
|
|
fi
|
|
|
|
+ if grep -q "/${_mod}.ko" /lib/modules/$kernel/modules.builtin; then
|
|
+ # Module is built-in
|
|
+ return 0
|
|
+ fi
|
|
+
|
|
# If we are building a host-specific initramfs and this
|
|
# module is not already loaded, move on to the next one.
|
|
[[ $hostonly ]] \
|
|
--
|
|
2.6.2
|
|
|