View previous topic :: View next topic |
Author |
Message |
marekd n00b
Joined: 26 Sep 2006 Posts: 43
|
Posted: Tue Jun 30, 2009 3:51 pm Post subject: [SOLVED] How do I cut off some of the Portage branches? |
|
|
Hi all,
I am trying to set up an old server (hppa arch) with a little small disc (8GB).
As it is going to be a server for specific tasks I don't really need to keep all Portage on my hdd (which actually takes almos 1Gb of data)
I mean, I don't need any x11-*, sci-* branches and so on. Where do I configure Portage, so that after emerge --sync these portages won't be updated? (I would like to remove them from my hdd)
Last edited by marekd on Wed Jul 01, 2009 9:32 am; edited 2 times in total |
|
Back to top |
|
|
Sadako Advocate
Joined: 05 Aug 2004 Posts: 3792 Location: sleeping in the bathtub
|
Posted: Tue Jun 30, 2009 4:03 pm Post subject: |
|
|
Create a file such as "/etc/portage/rsync_excludes", and for each category you wish to omit add it to that file, eg; rsync_excludes: | games-*/
gnome-*/
kde-*/
x11-*/ |
Then add PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes" to /etc/make.conf, delete the categories you don't want from /usr/portage, and you're done.
Portage will error out if you attempt to emerge anything which depends on something you've removed, so you should be a little conservative at least. _________________ "You have to invite me in" |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10589 Location: Somewhere over Atlanta, Georgia
|
Posted: Tue Jun 30, 2009 6:14 pm Post subject: |
|
|
Duplicate! It's in the FAQ.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
marekd n00b
Joined: 26 Sep 2006 Posts: 43
|
Posted: Wed Jul 01, 2009 8:01 am Post subject: |
|
|
ok, thanks a lot. Worked. |
|
Back to top |
|
|
Herring42 Guru
Joined: 10 Mar 2004 Posts: 373 Location: Buckinghamshire
|
Posted: Wed Jul 01, 2009 9:21 am Post subject: |
|
|
Please mark the subject solved! (edit your original post, and change the subject). _________________ "The problem with quotes on the internet is that it is difficult
to determine whether or not they are genuine." -- Abraham Lincoln |
|
Back to top |
|
|
timeBandit Bodhisattva
Joined: 31 Dec 2004 Posts: 2719 Location: here, there or in transit
|
Posted: Wed Jul 01, 2009 7:04 pm Post subject: |
|
|
Moved from Portage & Programming to Duplicate Threads.
See FAQ cited above. _________________ Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others. |
|
Back to top |
|
|
|