Re: [gentoo-dev] Suggestion: ebuilds linked to kernel upgrade

2005-10-20 Thread Chris Gianelloni
On Thu, 2005-10-20 at 18:19 +0100, John Mylchreest wrote: > On Wed, 2005-10-19 at 17:31 -0400, Chris Gianelloni wrote: > > Actually, genkernel does have the --callback option, which runs an > > external command before finalizing the build. We use it for building > > external modules and packages t

Re: [gentoo-dev] Suggestion: ebuilds linked to kernel upgrade

2005-10-20 Thread John Mylchreest
On Wed, 2005-10-19 at 17:31 -0400, Chris Gianelloni wrote: > Actually, genkernel does have the --callback option, which runs an > external command before finalizing the build. We use it for building > external modules and packages that require a configured kernel when > building the releases, but

Re: [gentoo-dev] Suggestion: ebuilds linked to kernel upgrade

2005-10-20 Thread Jan Kundrát
On Wednesday 19 of October 2005 20:56 Herbert G. Fischer wrote: > Perhaps the modules-update could be extended to detect new kernels and warn > users or automatically update modules. This could also be documented in > Gentoo docs since this is a basic and common problem that almost every > Gentoo u

Re: [gentoo-dev] Suggestion: ebuilds linked to kernel upgrade

2005-10-19 Thread Chris Gianelloni
On Wed, 2005-10-19 at 21:44 +0100, John Mylchreest wrote: > I don't particular feel comfortable doing this. the only place I can > actually see this being of some use is with the pkg_config since an > ebuild postinst is far too soon, and patching up Kbuild to do this is > far too intrusive (let alo

Re: [gentoo-dev] Suggestion: ebuilds linked to kernel upgrade

2005-10-19 Thread John Mylchreest
> 2005/10/19, Herbert G. Fischer <[EMAIL PROTECTED]>: > Perhaps the modules-update could be extended to detect new > kernels and warn users or automatically update modules. This > could also be documented in Gentoo docs since this is a basic > and common problem tha

Re: [gentoo-dev] Suggestion: ebuilds linked to kernel upgrade

2005-10-19 Thread Herbert G. Fischer
Oops... sorry for the last e-mail. I confess that I did not read your code-piece before answering. It's exactly what I had in mind (as you saw).2005/10/19, Herbert G. Fischer <[EMAIL PROTECTED]>: Perhaps the modules-update could be extended to detect new kernels and warn users or automatically upda

Re: [gentoo-dev] Suggestion: ebuilds linked to kernel upgrade

2005-10-19 Thread Herbert G. Fischer
Perhaps the modules-update could be extended to detect new kernels and warn users or automatically update modules. This could also be documented in Gentoo docs since this is a basic and common problem that almost every Gentoo user may have. Thanks for the patch!2005/10/19, John Myers <[EMAIL PROTE

Re: [gentoo-dev] Suggestion: ebuilds linked to kernel upgrade

2005-10-19 Thread John Myers
On Wednesday 19 October 2005 06:36, Henrik Brix Andersen wrote: > On Wed, Oct 19, 2005 at 11:32:19AM -0200, Herbert G. Fischer wrote: [snip] > > - Patch kernel's "make" to warn at the end of "make modules_install" [snip] > I think you should check out sys-kernel/module-rebuild Actually, a combinati

Re: [gentoo-dev] Suggestion: ebuilds linked to kernel upgrade

2005-10-19 Thread Herbert G. Fischer
That's cool.2005/10/19, Henrik Brix Andersen <[EMAIL PROTECTED]>: On Wed, Oct 19, 2005 at 11:32:19AM -0200, Herbert G. Fischer wrote:> There could be some way to remember users what installed packages need to be> reemerged after a new kernel is installed.>> I thought in this ideas: >> - Patch kerne

Re: [gentoo-dev] Suggestion: ebuilds linked to kernel upgrade

2005-10-19 Thread Henrik Brix Andersen
On Wed, Oct 19, 2005 at 11:32:19AM -0200, Herbert G. Fischer wrote: > There could be some way to remember users what installed packages need to be > reemerged after a new kernel is installed. > > I thought in this ideas: > > - Patch kernel's "make" to warn at the end of "make modules_install" > -

[gentoo-dev] Suggestion: ebuilds linked to kernel upgrade

2005-10-19 Thread Herbert G. Fischer
There could be some way to remember users what installed packages need to be reemerged after a new kernel is installed. I thought in this ideas: - Patch kernel's "make" to warn at the end of "make modules_install" - Warn user after any boot (during init.d stage). This script should detect the new