Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
dracut.4966
0318-ibft-fix-boot-flag-check.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0318-ibft-fix-boot-flag-check.patch of Package dracut.4966
Index: dracut-037/modules.d/40network/net-lib.sh =================================================================== --- dracut-037.orig/modules.d/40network/net-lib.sh +++ dracut-037/modules.d/40network/net-lib.sh @@ -232,10 +232,12 @@ ibft_to_cmdline() { [ -e /tmp/net.${dev}.has_ibft_config ] && continue [ -e ${iface}/flags ] && flags=$(read a < ${iface}/flags; echo $a) - # Skip invalid interfaces - (( $flags & 1 )) || continue - # Skip interfaces not used for booting - (( $flags & 2 )) || continue + # Skip invalid/non-booting interfaces + # Per spec, Bits 0 and 1 are valid and bootable, + # respectively, but some firmware only sets Bit 1, + # so just accept either bit + (( $flags & 3 )) || continue + [ -e ${iface}/dhcp ] && dhcp=$(read a < ${iface}/dhcp; echo $a) [ -e ${iface}/origin ] && origin=$(read a < ${iface}/origin; echo $a) [ -e ${iface}/ip-addr ] && ip=$(read a < ${iface}/ip-addr; echo $a)
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