Gentoo Archives: gentoo-dev

From: Georgi Georgiev <chutz@×××.net>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] module-rebuild
Date: Wed, 04 May 2005 06:24:56
Message-Id: 20050504062454.GA6533@ols-dell.gg3.net
In Reply to: [gentoo-dev] module-rebuild by John Mylchreest
1 maillog: 04/05/2005-00:00:38(+0100): John Mylchreest types
2 > Hi All,
3 >
4 > Can I please introduce into the tree sys-kernel/module-rebuild.
5 > This tracks linux-mod installed kernel modules, and also gives you the
6 > ability to remove/add/toggle the list of modules to rebuild.
7 >
8 > Basically.. following a kernel upgrade running: module-update rebuild,
9 > will install all modules installed via portage.
10 >
11 > If you experience any problems, please file a bug at bugzilla. Likewise,
12 > please file a bug and assign it to johnm@g.o if you have any
13 > ideas about the tool.
14
15 I personally think that the following is sufficient:
16
17 # emerge -pv $(equery b /lib/modules | sed -e 's:^:>=:' )
18
19 These are the packages that I would merge, in order:
20
21 Calculating dependencies ...done!
22 [ebuild R ] media-sound/alsa-driver-1.0.9_rc2 -debug -doc +oss -pcmcia 0 kB
23 [ebuild R ] media-video/nvidia-kernel-1.0.7174 -pcmcia 0 kB
24 [ebuild R ] sys-fs/cdfs-2.6.3a 0 kB [1]
25
26 Total size of downloads: 0 kB
27 Portage overlays:
28 [1] /usr/portage-chutz
29 [2] /usr/portage-maildir
30
31 I am not trying to shoot down your idea, but you could probably use
32 something similar to automatically generate the list of packages to
33 rebuild if the database is empty?
34
35 --
36 (* Georgi Georgiev (* YOW!! What should the entire human race DO?? (*
37 *) chutz@×××.net *) Consume a fifth of CHIVAS REGAL, ski NUDE *)
38 (* +81(90)2877-8845 (* down MT. EVEREST, and have a wild SEX (*
39 *) ------------------- *) WEEKEND! *)

Replies

Subject Author
Re: [gentoo-dev] module-rebuild John Mylchreest <johnm@g.o>