On Sun, Aug 30, 2009 at 08:16:47PM +0530, Nirbheek Chauhan wrote:
> On Sun, Aug 30, 2009 at 7:41 PM, Matthias Schwarzott<z...@gentoo.org> wrote:
> > Hi there!
> >
> > The new udev-145 and newer have some new kernel requirements. How should the
> > ebuild verify they are met?
> > Some possible ways:
> > 1. Check config under /usr/src/linux
> > 2. Check /proc/config.gz
> > 3. Print message for user in pkg_postinst
> >
> 
> ebuilds usually use linux-info.eclass for this, but that only checks
> /usr/src/linux -- although checking /proc/config.gz *as well* would be
> better. That change should be made in the eclass.
 
 I agree here.  The eclass should check /proc/config.gz.
 Also, another reason to use the eclass is it respects KBUILD_OUTPUT if
 it is set.

If /proc/config.gz is the first thing we check, I don't think we need to
bother at all with checking .config since we know the setup of the
running kernel.  What does everyone think?

-- 
William Hubbs
gentoo accessibility team lead
willi...@gentoo.org

Attachment: pgpdLEnuLNcR5.pgp
Description: PGP signature

Reply via email to