Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
dracut.4966
0315-test-iscsi-for-flash-directory-before-cont...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0315-test-iscsi-for-flash-directory-before-continuing.patch of Package dracut.4966
From: Lee Duncan <lduncan@suse.com> Date: Tue May 24 09:31:05 PDT 2016 Subject: test iscsi for flash directory before continuing When detecting iSCSI boot, test that the 'flash' directory is present before trying to find files under it. Signed-off-by: Lee Duncan <lduncan@suse.com> --- modules.d/95iscsi/module-setup.sh | 1 + 1 file changed, 1 insertion(+) --- a/modules.d/95iscsi/module-setup.sh +++ b/modules.d/95iscsi/module-setup.sh @@ -61,6 +61,7 @@ install_iscsiroot() { iscsi_host=${host##*/} for flash in ${host}/flashnode_sess-* ; do + [[ -d $flash ]] || continue is_boot=$(cat $flash/is_boot_target) if [ $is_boot -eq 1 ] ; then # qla4xxx flashnode session; skip iBFT discovery
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