Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP4
dracut.28355
0215-95fcoe-Do-not-complain-about-missing-etc-h...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0215-95fcoe-Do-not-complain-about-missing-etc-hba.conf.patch of Package dracut.28355
From 46736da0be28e579b53ac3c0dd982f3765d48f4a Mon Sep 17 00:00:00 2001 From: Hannes Reinecke <hare@suse.de> Date: Tue, 23 Aug 2016 14:09:12 +0200 Subject: [PATCH] 95fcoe: Do not complain about missing /etc/hba.conf The file '/etc/hba.conf' got dropped by an updated fcoe-utils package, so do not complain if it doesn't exist. References: bsc#980539 Signed-off-by: Hannes Reinecke <hare@suse.com> --- modules.d/95fcoe/module-setup.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules.d/95fcoe/module-setup.sh b/modules.d/95fcoe/module-setup.sh index a78516d..d08e917 100755 --- a/modules.d/95fcoe/module-setup.sh +++ b/modules.d/95fcoe/module-setup.sh @@ -67,8 +67,10 @@ cmdline() { # called by dracut install() { inst_multiple ip dcbtool fipvlan lldpad readlink lldptool fcoemon fcoeadm - inst_libdir_file 'libhbalinux.so*' - inst "/etc/hba.conf" "/etc/hba.conf" + if [ -f "/etc/hba.conf" ] ; then + inst_libdir_file 'libhbalinux.so*' + inst "/etc/hba.conf" "/etc/hba.conf" + fi mkdir -m 0755 -p "$initdir/var/lib/lldpad" mkdir -m 0755 -p "$initdir/etc/fcoe" -- 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