Holly~

Thanks for the reply.  It seems fairly straightforward.  From reading this,
I would think that running module-rebuild populate would be the first task.
Add/Del package would be for building discriminate versions of a kernel
(presumably for locating problems or just testing out a kernel revision),
list is simply a list of what's been 'populate'd, toggle would have similar
usage as Add/Del, except that it would allow/disallow a package which has
been 'populate'd, and rebuild would be the heart of the reason for this
utility, to rebuild a set of modules into a new kernel.  Assuming I'm at
least somewhat correct in this, my only point of confusion is whether I
compile the new kernel first, then run module-rebuild? Or does running
module-rebuild 'rebuild' allow me to compile the new kernel, link it, and
reboot into it?

Regards,

JD
 

-----Original Message-----
From: Holly Bostick [mailto:[EMAIL PROTECTED] 
Sent: Sunday, October 30, 2005 2:35 PM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] updates

John Dangler schreef:
> 
>> John Dangler schreef:
> Holly Bostick schreef:
> 
>> I'm trying to get a definitive answer to this - when I want to
>> install a new kernel, I know that there are certain packages that
>> will not come back, Is there a way to setup a list of these based
>> on what I have installed on my current Gentoo kernel to make emerge
>> world easier?
> 
> There is, in fact, now a tool to do this;
> 
> eix module-rebuild * sys-kernel/module-rebuild Available versions:
> 0.1 0.5 Installed:           0.5 Homepage:
> http://www.gentoo.org/ Description:         A utility to rebuild any
> kernel modules which you have installed.
> 
> Thanks for the reply.  I found the package on portage, but couldn't
> locate any docs for how to use it... I'm googling for it atm, but if
> you can point me towards any docs on this I'd really appreciate it.
> I've been waiting for something like this for a while.
> 
module-rebuild --help
/usr/sbin/module-rebuild: illegal option -- -

Oh, apparently --help is not enabled; but if you run it either with no
options or an 'illegal' option, you get the 'proper usage help', as is
standard for most Linux command-line probrams.

module-rebuild [options] action [category/package]
Version: 0.5

Where options are:
        -X       - Emerge based on package names,
                   not exact versions.
        -C       - Disable all coloured output.

Where action is one of:
        add      - Add package to moduledb.
        del      - Delete a package from moduledb.
        toggle   - Toggle auto-rebuild of Package.
        list     - List packages to auto-rebuild.
        rebuild  - Rebuild packages.
        populate - Populate the database with any
                   packages which currently install
                   drivers into the running kernel.


Do you need more than that? It's a pretty simple module atm.

Holly
-- 
gentoo-user@gentoo.org mailing list




-- 
gentoo-user@gentoo.org mailing list

Reply via email to