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 1ESLaK-0001GT-5t for garchives@archives.gentoo.org; Wed, 19 Oct 2005 21:34:56 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id j9JLVfl5002362; Wed, 19 Oct 2005 21:31:41 GMT Received: from smtp04.gnvlscdb.sys.nuvox.net (smtp.nuvox.net [64.89.70.9]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id j9JLSiU7017807 for ; Wed, 19 Oct 2005 21:28:44 GMT Received: from cgianelloni.nuvox.net (216.215.202.4.nw.nuvox.net [216.215.202.4]) by smtp04.gnvlscdb.sys.nuvox.net (8.12.11/8.12.11) with SMTP id j9JLVBNp027080 for ; Wed, 19 Oct 2005 17:31:11 -0400 Received: by cgianelloni.nuvox.net (sSMTP sendmail emulation); Wed, 19 Oct 2005 17:31:06 -0400 Subject: Re: [gentoo-dev] Suggestion: ebuilds linked to kernel upgrade From: Chris Gianelloni To: gentoo-dev@lists.gentoo.org In-Reply-To: <1129754698.26382.13.camel@localhost> References: <9f90e8bf0510190632g2f95328ah@mail.gmail.com> <20051019133630.GA30454@dmz.brixandersen.dk> <200510191028.43618.electronerd@monolith3d.com> <9f90e8bf0510191156w22be32bej@mail.gmail.com> <9f90e8bf0510191158pc96100dl@mail.gmail.com> <1129754698.26382.13.camel@localhost> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-BnJgcjw1m+Wvn+O9qW7v" Organization: Gentoo Linux Date: Wed, 19 Oct 2005 17:31:04 -0400 Message-Id: <1129757464.720.15.camel@cgianelloni.nuvox.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.4.1 X-Archives-Salt: c259f990-515e-4e41-b271-45ac16290069 X-Archives-Hash: 5f8c1e96e36ea0c35e03f01807a8293b --=-BnJgcjw1m+Wvn+O9qW7v Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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). >=20 > 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. --=20 Chris Gianelloni Release Engineering - Strategic Lead x86 Architecture Team Games - Developer Gentoo Linux --=-BnJgcjw1m+Wvn+O9qW7v Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQBDVrsYkT4lNIS36YERAqzVAKCJMXdfakQ1375nUmVPUTszWW7AFwCeIyMy HVGbPEfdUTqbpR1/38koaWA= =lISI -----END PGP SIGNATURE----- --=-BnJgcjw1m+Wvn+O9qW7v-- -- gentoo-dev@gentoo.org mailing list