On Wednesday 02 July 2003 01:29 am, Robin H.Johnson wrote:
> You'll need to rewrite the 'fetch' method of portage.py to download
> to a directory in the list 'DESTDIRS', I suggest the first one in the
> list that is writable. However, the old 'DESTDIR' should be
> pre-pended to the list during the fetching and used as a priority
> place to store the new downloads.

This can be done, but after we get a working DESTDIRS.

> Then during all the rest of the stages (unpack, setup, compile,
> install, package, etc.) DESTDIR should be the value of the TMPDIR
> location with all of the symlinks.

This was not hard since I already had most of the code there.
% emerge mutt -f
% ls -l /dev/shm/portage/mutt-1.4.1/sources/
total 0
lrwxrwxrwx    1 root     root           28 2003-07-02 11:50 
mutt-1.4.1i.tar.gz -> /mnt/cdrw/mutt-1.4.1i.tar.gz
lrwxrwxrwx    1 root     root           54 2003-07-02 11:50 
patch-1.4.0.cd.edit_threads.9.5 -> 
/usr/portage/distfiles/patch-1.4.0.cd.edit_threads.9.5
lrwxrwxrwx    1 root     root           53 2003-07-02 11:50 
patch-1.4.1.rr.compressed.1.gz -> 
/usr/portage/distfiles/patch-1.4.1.rr.compressed.1.gz

  Kurt
-- 
There is no good nor evil; there is only power.

--
[EMAIL PROTECTED] mailing list

Reply via email to