View previous topic :: View next topic |
Author |
Message |
ronni n00b
Joined: 29 Apr 2003 Posts: 1
|
Posted: Tue Apr 29, 2003 2:14 am Post subject: portage size / feature request |
|
|
My question is:
Is there a way to minimize the portage size you download?
Problem:
Code: | # du -s /usr/portage --exclude distfiles
213684 /usr/portage |
and only ~500 MB hd
What I want is that you don't have to download the whole tree, but be able to specify what to sync.
Eg.:
PORTAGE_SUBSCRIBE="sys-build"
so that it only downloads the ebuilds for the base system.
Then you could have "all" "sys-libs ...".
Take a look at:
Code: | # du -s /usr/portage/*-* | sort -n |
and you can maybe see my point.
Ronni
PS: I need telnet to set up my adsl-modem before I can get net - could it be included on the live-cd? |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9501 Location: beyond the rim
|
Posted: Tue Apr 29, 2003 5:36 pm Post subject: |
|
|
Sounds like you're searching for RSYNC_EXCLUDEFROM in make.conf. I've not tested this myself, but the description in make.conf sounds what you're searching for. In case you've stripped down your make.conf here is the description:
Quote: | # RSYNC_EXCLUDEFROM is a file that portage will pass to rsync when it updates
# the portage tree. Specific chucks of the tree may be excluded from
# consideration. This may cause dependency failures if you are not careful.
# The file format is one pattern per line, blanks and ';' or '#' lines are
# comments. See 'man rsync' for more details on the exclude-from format.
#RSYNC_EXCLUDEFROM=/etc/portage/rsync_excludes
|
|
|
Back to top |
|
|
|