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

Bug 161975

Summary: GENTOO_MIRRORS support for mounted filesystem mirrors
Product: Gentoo Linux Reporter: Triffid Hunter <triffid_hunter>
Component: Current packagesAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: enhancement Keywords: InVCS
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 147007    
Attachments: /usr/local/sbin/emerge-fetch

Description Triffid Hunter 2007-01-14 01:09:58 UTC
I nfs-mount /usr/portage (ro) and /usr/portage/distfiles (rw) from my storage server on all my machines.
I wrote an emerge-fetch script which checks /etc/portage/old/ (a symlink) before trying mirrors (moving if permitted, copying if not), so I can clean up unused downloads by moving everything to distfiles/old, then doing emerge -ef world on all my boxes.

I'm sure others could find numerous uses for a filesystem-based mirror uri.


Reproducible: Always

Steps to Reproduce:
Comment 1 Triffid Hunter 2007-01-14 01:11:56 UTC
Created attachment 106882 [details]
/usr/local/sbin/emerge-fetch

my emerge-fetch script if anyone wants it
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-01-14 01:21:57 UTC
Dunno what you are after, but GENTOO_MIRRORS="/usr/portage/distfiles" works just fine...
Comment 3 Zac Medico gentoo-dev 2007-01-14 19:46:50 UTC
We need to document the filesystem mirrors functionality...
Comment 4 Zac Medico gentoo-dev 2007-01-14 20:07:33 UTC
I've added a note to make.conf.5 in svn r5644.
Comment 5 Zac Medico gentoo-dev 2007-01-14 23:36:01 UTC
This has been released in 2.1.2.