From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
	by nuthatch.gentoo.org with esmtp (Exim 4.50)
	id 1ESHkU-0003SY-08
	for garchives@archives.gentoo.org; Wed, 19 Oct 2005 17:29:10 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.5/8.13.5) with SMTP id j9JHPs06026595;
	Wed, 19 Oct 2005 17:25:54 GMT
Received: from smtpauth06.mail.atl.earthlink.net (smtpauth06.mail.atl.earthlink.net [209.86.89.66])
	by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id j9JHMfP2027970
	for <gentoo-dev@lists.gentoo.org>; Wed, 19 Oct 2005 17:22:42 GMT
Received: from [66.122.77.237] (helo=sarge.electronerdia.net)
	by smtpauth06.mail.atl.earthlink.net with asmtp (Exim 4.34)
	id 1ESHgZ-0004IM-9Q
	for gentoo-dev@lists.gentoo.org; Wed, 19 Oct 2005 13:25:07 -0400
Received: from sheila.electronerdia.net (sheila.electronerdia.net [192.168.1.32])
	by sarge.electronerdia.net (Postfix) with ESMTP id B596FFF2A0
	for <gentoo-dev@lists.gentoo.org>; Wed, 19 Oct 2005 10:28:09 -0700 (PDT)
From: John Myers <electronerd@monolith3d.com>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Suggestion: ebuilds linked to kernel upgrade
Date: Wed, 19 Oct 2005 10:28:38 -0700
User-Agent: KMail/1.8.3
References: <9f90e8bf0510190632g2f95328ah@mail.gmail.com> <20051019133630.GA30454@dmz.brixandersen.dk>
In-Reply-To: <20051019133630.GA30454@dmz.brixandersen.dk>
Precedence: bulk
List-Post: <mailto:gentoo-dev@lists.gentoo.org>
List-Help: <mailto:gentoo-dev+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-dev+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org>
X-BeenThere: gentoo-dev@gentoo.org
Reply-to: gentoo-dev@lists.gentoo.org
MIME-Version: 1.0
Content-Type: multipart/signed;
  boundary="nextPart2437785.82DZmKT9KW";
  protocol="application/pgp-signature";
  micalg=pgp-sha1
Content-Transfer-Encoding: 7bit
Message-Id: <200510191028.43618.electronerd@monolith3d.com>
X-ELNK-Trace: 8839a2c17b2169aa1aa676d7e74259b7b3291a7d08dfec797ad03a7bdfb7774fc96c12f2ea30af01350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c
X-Originating-IP: 66.122.77.237
X-Archives-Salt: 94d66119-7b08-46e8-ac4e-091af1f68247
X-Archives-Hash: 1799560a2e83b7e0ebf03c30b647a92b

--nextPart2437785.82DZmKT9KW
Content-Type: text/plain;
  charset="iso-8859-6"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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 combination of these might not be a bad idea.

Something like this (not tested):

if [ -n "$(which module-rebuild 2>/dev/null)" ] ; then
    if [ -n "${AUTO_MODULE_REBUILD}" ] ; then
        echo "Rebuilding external modules:"
        module-rebuild ${MODULE_REBUILD_OPTIONS} rebuild
    else
        echo "You might want to rebuild the following external modules:"
        module-rebuild -XC list | tail -n +2
        echo
        echo "You can use module-rebuild to do that."
        echo "If you want to have your external modules automatically rebuilt"
        echo "when making a kernel's modules_install target, set"
        echo "AUTO_MODULE_REBUILD in your environment. You can set"
        echo "MODULE_REBUILD_OPTIONS to options to pass to module-rebuild."
        echo "(-X for example)"
    fi
else
    echo "You might want to emerge sys-kernel/module-rebuild to keep track of"
    echo "kernel modules you've installed with emerge"
fi

--nextPart2437785.82DZmKT9KW
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2-ecc0.1.6 (GNU/Linux)

iD8DBQBDVoJLvqDgVb4O7CURAn6jAKCBdr3/wU4WHgulYPsw7JnfrNiJIQCfTHUQ
Tq6UuOqGop8AnkjwLLCAX+k=
=VcDg
-----END PGP SIGNATURE-----

--nextPart2437785.82DZmKT9KW--
-- 
gentoo-dev@gentoo.org mailing list