Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP7:Update
dracut.14859
0210-add_fcoe_uefi_check.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0210-add_fcoe_uefi_check.patch of Package dracut.14859
From c5fd4748ecff45dfaf707af30b649153ae88ea20 Mon Sep 17 00:00:00 2001 From: Fabian Vogt <fvogt@suse.com> Date: Tue, 27 Sep 2016 12:41:17 +0200 Subject: fcoe-uefi: Add check for usage References: boo#965477 fcoe-uefi gets included by default on EFI systems, as it does not do the same check that fcoe does, therefore needlessly pulling in network modules. This patch copies the check from fcoe to fcoe-uefi. --- modules.d/95fcoe-uefi/module-setup.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules.d/95fcoe-uefi/module-setup.sh b/modules.d/95fcoe-uefi/module-setup.sh index 5d8477c..66af804 100755 --- a/modules.d/95fcoe-uefi/module-setup.sh +++ b/modules.d/95fcoe-uefi/module-setup.sh @@ -4,6 +4,11 @@ check() { [[ $hostonly ]] || [[ $mount_needs ]] && { [ -d /sys/firmware/efi ] || return 255 + for c in /sys/bus/fcoe/devices/ctlr_* ; do + [ -L $c ] || continue + fcoe_ctlr=$c + done + [ -z "$fcoe_ctlr" ] && return 255 } require_binaries dcbtool fipvlan lldpad ip readlink || return 1 return 0 -- 2.6.6
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