Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 186652
Alias:
Product:
Component:
Status: ASSIGNED
Resolution:
Assigned To: Gentoo Genkernel Maintainers <genkernel@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Robin Johnson <robbat2@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
0002-Add-customized-modules_load-support.patch 0002-Add-customized-modules_load-support.patch patch Robin Johnson 2007-07-26 07:49 0000 3.01 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 186652 depends on: 186650 Show dependency tree
Bug 186652 blocks: 186653 245389
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-07-26 07:48 0000
This allows users to specify exactly which modules to include in the initramfs
for their system. They must remember to include dependancy modules themselves!
(Eg sata_* depend on libata).

------- Comment #1 From Robin Johnson 2007-07-26 07:49:16 0000 -------
Created an attachment (id=126048) [details]
0002-Add-customized-modules_load-support.patch

------- Comment #2 From Chris Gianelloni (RETIRED) 2008-02-26 00:45:18 0000 -------
*** Bug 154047 has been marked as a duplicate of this bug. ***

------- Comment #3 From Chris Gianelloni 2008-11-03 12:37:48 0000 -------
I think I'd prefer do this in a configuration file.  In fact, I was thinking
more of making a genkernel.conf option for allowing someone to do just this,
but for both the modules_load file or the individual MODULES_* variables. 
Something like...

MODULES_LOAD_PATH (unset uses default)
OVERRIDE_MODULE_VARS=[y/N]

Setting OVERRIDE_MODULES_VARS should allow a user to set one (or more) of the
MODULES_* variables in genkernel.conf, itself.  I'd love it if the contents of
the variables were "stackable" using make.conf-like rules, but I'd be perfectly
happy with simply forcing the user to put all the modules they want for each
variable and pushing the stacking support off until some time later.  The
override should only override variables that are explicitly listed.  The rest
are pulled from the normal modules_load file(s).

How does that sound?

------- Comment #4 From Andrew Gaffney 2008-11-15 06:53:45 0000 -------
I personally think this patch is fine as-is. It's a very simple approach that
should work for pretty much everyone.

We could even extend it a bit to allow for loading multiple files (for i in
${MODULES_CONFIG}; do source ${i}; done). It won't do stacking within the
individual vars, but it will allow "inheriting" from previous files, so you can
just redefine the var you want.

------- Comment #5 From Xake 2009-11-04 10:16:55 0000 -------
Have something like this being implemented?
I use nouveau-drm, and wanted it for KMS-goodies loaded already during
initramdisk-phase, but I only want the nouveau-module, the other ones I have
compiled are not needed that early in the boot process...

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug