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 alone high maintenance).
> 
> A possibility (although I wouldnt like to promote it through portage)
> would be to have a wrapper/helper script which would do all of this for
> you. build-kernel or some such. But then... whats genkernel for right?

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 I think adding an option to genkernel
wouldn't be bad to do this for you.  We could add a command-line switch
to genkernel to automatically rebuild any external modules after it has
built the kernel.  We could use something like --autorebuild.  You could
then do something like "genkernel --autorebuild all" to build your new
kernel and automatically rebuild all of your external modules.

-- 
Chris Gianelloni
Release Engineering - Strategic Lead
x86 Architecture Team
Games - Developer
Gentoo Linux

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to