Gentoo Archives: gentoo-dev

From: John Mylchreest <johnm@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] module-rebuild
Date: Wed, 04 May 2005 07:34:32
Message-Id: 1115192074.30481.15.camel@localhost
In Reply to: Re: [gentoo-dev] module-rebuild by Georgi Georgiev
1 I thought about this, but not wanting to depend on gentoolkit makes
2 using equery for example a little awkward.
3 This, I'm sure isn't fully feature-rich yet - and something like this
4 will be the next addition to go in.
5
6 On Wed, 2005-05-04 at 15:24 +0900, Georgi Georgiev wrote:
7 > maillog: 04/05/2005-00:00:38(+0100): John Mylchreest types
8 > > Hi All,
9 > >
10 > > Can I please introduce into the tree sys-kernel/module-rebuild.
11 > > This tracks linux-mod installed kernel modules, and also gives you the
12 > > ability to remove/add/toggle the list of modules to rebuild.
13 > >
14 > > Basically.. following a kernel upgrade running: module-update rebuild,
15 > > will install all modules installed via portage.
16 > >
17 > > If you experience any problems, please file a bug at bugzilla. Likewise,
18 > > please file a bug and assign it to johnm@g.o if you have any
19 > > ideas about the tool.
20 >
21 > I personally think that the following is sufficient:
22 >
23 > # emerge -pv $(equery b /lib/modules | sed -e 's:^:>=:' )
24 >
25 > These are the packages that I would merge, in order:
26 >
27 > Calculating dependencies ...done!
28 > [ebuild R ] media-sound/alsa-driver-1.0.9_rc2 -debug -doc +oss -pcmcia 0 kB
29 > [ebuild R ] media-video/nvidia-kernel-1.0.7174 -pcmcia 0 kB
30 > [ebuild R ] sys-fs/cdfs-2.6.3a 0 kB [1]
31 >
32 > Total size of downloads: 0 kB
33 > Portage overlays:
34 > [1] /usr/portage-chutz
35 > [2] /usr/portage-maildir
36 >
37 > I am not trying to shoot down your idea, but you could probably use
38 > something similar to automatically generate the list of packages to
39 > rebuild if the database is empty?
40 >
41 --
42 Role: Gentoo Linux Kernel Lead
43 Gentoo Linux: http://www.gentoo.org
44 Public Key: gpg --recv-keys 9C745515
45 Key fingerprint: A0AF F3C8 D699 A05A EC5C 24F7 95AA 241D 9C74 5515
46 Web:
47 http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x9C745515

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] module-rebuild Thomas de Grenier de Latour <degrenier@×××××××××××.fr>