1 |
On Sat, Apr 17, 2010 at 04:59:07PM -0400, Tanstaafl wrote: |
2 |
> Is there a way to emerge, say, system, but omit one package in it? |
3 |
> |
4 |
> For example, I've already recompiled gcc 4.3.4 with itself... is there a |
5 |
> way to now do something like: |
6 |
> |
7 |
> emerge system -gcc (where '-gcc' serves to tell portage to compile |
8 |
> everything *but* gcc)? |
9 |
> |
10 |
> Its not a big deal, I'm just curious... |
11 |
> |
12 |
> -- |
13 |
> |
14 |
> Charles |
15 |
> |
16 |
|
17 |
|
18 |
|
19 |
You can do something like: |
20 |
|
21 |
emerge -pe world | sed -e "/^.ebuild/ ! d; s/.*] /=/; s/ .*//; " > list |
22 |
|
23 |
... edit "list" and remove anything you don't want to reinstall ... |
24 |
|
25 |
emerge -av1 `cat list` |
26 |
|
27 |
the -1 (or --oneshot), means that the packages won't be added to the world |
28 |
file (they would normally because you are listing them all on the |
29 |
commandline) |
30 |
|
31 |
|
32 |
yoyo |