- Suppress nonsensical error message (bsc#1032029) adds 0524-Suppress-nonsensical-error-message-bsc-1032029.patch OBS-URL: https://build.opensuse.org/request/show/504691 OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=311
25 lines
737 B
Diff
25 lines
737 B
Diff
From 33f374affcd65741dcef747c7cb57482d9ff3103 Mon Sep 17 00:00:00 2001
|
|
From: Daniel Molkentin <dmolkentin@suse.com>
|
|
Date: Mon, 19 Jun 2017 13:42:43 +0200
|
|
Subject: [PATCH] Suppress nonsensical error message (bsc#1032029)
|
|
|
|
---
|
|
dracut.sh | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/dracut.sh b/dracut.sh
|
|
index 69833cab..1016d5ae 100755
|
|
--- a/dracut.sh
|
|
+++ b/dracut.sh
|
|
@@ -788,6 +788,7 @@ declare -A suse_mod_deps
|
|
while read -r line; do
|
|
_suse_mod="${line##*SUSE INITRD: }"
|
|
_suse_mod="${_suse_mod%% REQUIRES*}"
|
|
+ test -z $_suse_mod && continue
|
|
suse_mod_deps["$_suse_mod"]="${suse_mod_deps["$_suse_mod"]} ${line##*REQUIRES }"
|
|
done <<< "$(grep -h "^# SUSE INITRD: " /etc/modprobe.d/[0-9][0-9]*.conf)"
|
|
|
|
--
|
|
2.12.3
|
|
|