| View previous topic :: View next topic |
| Author |
Message |
xunil n00b


Joined: 18 Jun 2003 Posts: 36 Location: Blacksburg, VA, USA
|
Posted: Fri Jul 18, 2003 2:38 pm Post subject: Remerge your entire install with one command |
|
|
So you've changed your CFLAGS or USE flags in some significant fashion and want to remerge your entire Gentoo install. Well, you're in luck. emerge supports the -e (or --emptytree) command-line flag which virtually tweaks the package tree for the current operation so that glibc is the only merged package. So, to remerge your entire install, simply run:
If you've changed USE flags that affect glibc (nptl, pic, etc.), then run this instead:
| Code: | | emerge glibc && emerge -e world |
Changing CFLAGS normally does not require a glibc rebuild since glibc's ebuild filters out most CFLAGS settings since they can reduce glibc's stability. |
|
| Back to top |
|
 |
Petyr Guru


Joined: 08 Jan 2003 Posts: 471 Location: San Diego, CA, USA
|
Posted: Sun Jul 20, 2003 1:27 am Post subject: |
|
|
Added fun
If you don't want to lose all that output, and you still want to sleep (who really wants to watch glibc, xfree, mozilla AND OpenOffice rebuild?) then pipe stuff to tee
emerge -e world 2>&1 | tee ~/emerge_output.log
tee takes in everything it gets, writes it to the file, and spits it out to the terminal.
This way you don't miss all those einfo messages and whatnot.
Petyr |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|