054341caad
Update to dracut-044 and several cleanups. Works on tumbleweed standard installation and NFS root. OBS-URL: https://build.opensuse.org/request/show/346361 OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=244
26 lines
782 B
Diff
26 lines
782 B
Diff
From d774a6f49771b9f55de2956c3c0038a7655b6e94 Mon Sep 17 00:00:00 2001
|
|
From: Fabian Vogt <fvogt@suse.com>
|
|
Date: Wed, 23 Sep 2015 12:12:08 +0200
|
|
Subject: [PATCH] Fix possible hang in dracut
|
|
|
|
- Caused by add_drivers+=" " in dracut.conf (bsc#923116)
|
|
|
|
Signed-off-by: Fabian Vogt <fvogt@suse.com>
|
|
---
|
|
dracut.sh | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
Index: dracut-044/dracut.sh
|
|
===================================================================
|
|
--- dracut-044.orig/dracut.sh
|
|
+++ dracut-044/dracut.sh
|
|
@@ -1441,7 +1441,7 @@ if [[ $no_kernel != yes ]]; then
|
|
hostonly='' instmods $drivers
|
|
fi
|
|
|
|
- if [[ $add_drivers ]]; then
|
|
+ if [[ -n "${add_drivers// }" ]]; then
|
|
hostonly='' instmods -c $add_drivers
|
|
fi
|
|
if [[ $force_drivers ]]; then
|