Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 92819

Summary: Offline installations need to copy distfiles to hard disk
Product: Portage Development Reporter: Enrico Ghera <fxgher>
Component: Enhancement/Feature RequestsAssignee: Portage team <dev-portage>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Enrico Ghera 2005-05-16 11:19:16 UTC
installing from DVD should give the chance to select DVD's distfiles directory as a mirror of the distro.

Reproducible: Always
Steps to Reproduce:
1.symlink distfiles repository on HD to DVD's one


Actual Results:  
portage started looking for mirrors on the 'net

Expected Results:  
no result, but allow me to set up in make.conf an option to tell portage to 
look distfiles in another place (and then "downloading" them wherever he wants)

i am trying to install on a 9.1 Gig HD and the repository fills up my HD :-(
Comment 1 Alec Warner (RETIRED) archtester gentoo-dev Security 2005-05-16 11:23:11 UTC
skyfw@kyoto ssh $ cat /etc/make.conf | grep distfiles
#DISTDIR=${PORTDIR}/distfiles

Nothing stops you from mounting the DVD and setting DISTDIR to /mount/dvd/directory...
Comment 2 Brian Harring (RETIRED) gentoo-dev 2005-05-16 11:26:27 UTC
Like alec said, you can override DISTDIR to point at other locations, even from commandline.
Transferring files back to my offline box, I override DISTDIR to point at a mouned usb drive for example.