Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
SUSE:SLE-12-SP1:Update
dracut.4406
0034-dracut-Do-not-stop-installing-drivers-if-o...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0034-dracut-Do-not-stop-installing-drivers-if-one-fails.patch of Package dracut.4406
From 08f0ec43bed63ccd72b1ea9d20c36d3fe1d91a2e Mon Sep 17 00:00:00 2001 From: Thomas Renninger <trenn@suse.de> Date: Tue, 27 May 2014 14:58:54 +0200 Subject: [PATCH] dracut: Do not stop installing drivers if one fails --add-drivers and --filesystems kernel drivers are added via: instmods -c The check option makes the function return if one driver could not get installed without trying to install further drivers which is bad. The user is still informed ($_silent is by default no), but all modules passed to instmods are tried to be loaded, even if one fails. Signed-off-by: Thomas Renninger <trenn@suse.de> --- dracut-functions.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/dracut-functions.sh b/dracut-functions.sh index ac22b7e..5b3b1fb 100755 --- a/dracut-functions.sh +++ b/dracut-functions.sh @@ -1689,18 +1689,16 @@ instmods() { if (($# == 0)); then # filenames from stdin while read _mod; do inst1mod "${_mod%.ko*}" || { - if [[ "$_check" == "yes" ]]; then - [[ "$_silent" == "no" ]] && dfatal "Failed to install module $_mod" - return 1 + if [[ "$_check" == "yes" ]] && [[ "$_silent" == "no" ]]; then + dfatal "Failed to install module $_mod" fi } done fi while (($# > 0)); do # filenames as arguments inst1mod ${1%.ko*} || { - if [[ "$_check" == "yes" ]]; then - [[ "$_silent" == "no" ]] && dfatal "Failed to install module $1" - return 1 + if [[ "$_check" == "yes" ]] && [[ "$_silent" == "no" ]]; then + dfatal "Failed to install module $1" fi } shift -- 1.8.4.5
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor