From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j447YWN3010395 for ; Wed, 4 May 2005 07:34:32 GMT Received: from [83.218.5.39] (helo=dogmatix.willow.local) by smtp.gentoo.org with esmtpa (Exim 4.43) id 1DTEOy-0006Dw-10 for gentoo-dev@lists.gentoo.org; Wed, 04 May 2005 07:34:36 +0000 Subject: Re: [gentoo-dev] module-rebuild From: John Mylchreest To: gentoo-dev@lists.gentoo.org In-Reply-To: <20050504062454.GA6533@ols-dell.gg3.net> References: <1115161238.13653.5.camel@localhost> <20050504062454.GA6533@ols-dell.gg3.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-J8IIzngqqAo4gOSBNZ8p" Date: Wed, 04 May 2005 08:34:34 +0100 Message-Id: <1115192074.30481.15.camel@localhost> 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.2.1.1 X-Archives-Salt: 88c18d79-b708-4346-9889-068cd9ad268e X-Archives-Hash: 3d8377e4892415fe18c7c29fa47f5df4 --=-J8IIzngqqAo4gOSBNZ8p Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I thought about this, but not wanting to depend on gentoolkit makes using equery for example a little awkward. This, I'm sure isn't fully feature-rich yet - and something like this will be the next addition to go in. On Wed, 2005-05-04 at 15:24 +0900, Georgi Georgiev wrote: > maillog: 04/05/2005-00:00:38(+0100): John Mylchreest types > > Hi All, > >=20 > > Can I please introduce into the tree sys-kernel/module-rebuild. > > This tracks linux-mod installed kernel modules, and also gives you the > > ability to remove/add/toggle the list of modules to rebuild. > >=20 > > Basically.. following a kernel upgrade running: module-update rebuild, > > will install all modules installed via portage. > >=20 > > If you experience any problems, please file a bug at bugzilla. Likewise= , > > please file a bug and assign it to johnm@gentoo.org if you have any > > ideas about the tool. >=20 > I personally think that the following is sufficient: >=20 > # emerge -pv $(equery b /lib/modules | sed -e 's:^:>=3D:' ) >=20 > These are the packages that I would merge, in order: >=20 > Calculating dependencies ...done! > [ebuild R ] media-sound/alsa-driver-1.0.9_rc2 -debug -doc +oss -pcmc= ia 0 kB=20 > [ebuild R ] media-video/nvidia-kernel-1.0.7174 -pcmcia 0 kB=20 > [ebuild R ] sys-fs/cdfs-2.6.3a 0 kB [1]=20 >=20 > Total size of downloads: 0 kB > Portage overlays: > [1] /usr/portage-chutz > [2] /usr/portage-maildir >=20 > I am not trying to shoot down your idea, but you could probably use > something similar to automatically generate the list of packages to > rebuild if the database is empty? >=20 --=20 Role: Gentoo Linux Kernel Lead Gentoo Linux: http://www.gentoo.org Public Key: gpg --recv-keys 9C745515 =20 Key fingerprint: A0AF F3C8 D699 A05A EC5C 24F7 95AA 241D 9C74 5515 Web: http://pgp.mit.edu:11371/pks/lookup?op=3Dget&search=3D0x9C745515 --=-J8IIzngqqAo4gOSBNZ8p Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQBCeHsKz7mlh8wQzGMRAgfCAJ9B0MiEa0dXTWdNB9OhClWQaOhYNACdGsAn qys+YcBzvnp4+/yrLiIlCQY= =filF -----END PGP SIGNATURE----- --=-J8IIzngqqAo4gOSBNZ8p-- -- gentoo-dev@gentoo.org mailing list