Bug 436248 - [PATCH] mkinitrd --without option
Summary: [PATCH] mkinitrd --without option
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: mkinitrd
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Peter Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: K12LTSP
TreeView+ depends on / blocked
 
Reported: 2008-03-06 03:18 UTC by Warren Togami
Modified: 2008-03-06 18:16 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-03-06 18:16:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
mkinitrd-without.patch (1.13 KB, patch)
2008-03-06 03:18 UTC, Warren Togami
no flags Details | Diff
mkinitrd-without.patch (1.17 KB, text/x-patch)
2008-03-06 03:51 UTC, Warren Togami
no flags Details

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


Note You need to log in before you can comment on or make changes to this bug.