Bug 436248

Summary: [PATCH] mkinitrd --without option
Product: [Fedora] Fedora Reporter: Warren Togami <wtogami>
Component: mkinitrdAssignee: Peter Jones <pjones>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: dcantrell, katzj, wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-03-06 18:16:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 188611    
Attachments:
Description Flags
mkinitrd-without.patch
none
mkinitrd-without.patch none

Description Warren Togami 2008-03-06 03:18:04 UTC
mkinitrd --withavail==networking
This option pulls in all networking drivers, and loads the driver during initrd
if a matching device exists.  Unfortunately this sometimes can cause failures
when multiple drivers support the same network card.  For example, 8139too and
8139cp support an overlapping set of network cards.  nash loadDrivers loads
8139too before 8139cp, while the latter is what the user needs.

Attached is the --without option for mkinitrd.  Syntax Example:
--withavail==networking --without="8139too ipw2200"

Comment 1 Warren Togami 2008-03-06 03:18:04 UTC
Created attachment 296987 [details]
mkinitrd-without.patch

Comment 2 Warren Togami 2008-03-06 03:51:26 UTC
Created attachment 296990 [details]
mkinitrd-without.patch

Slightly better version of patch, faster in the common case where none are
excluded.

Comment 3 Jeremy Katz 2008-03-06 18:16:58 UTC
I don't feel very strongly either way and this does match the rest of the stuff
that we have.  So committed