Hot Diggety! Mark Knecht was rumored to have written:
> 
> WORKDIR seems to work out to /var/tmp/portage/<package>/work, which

Aye, that is correct.

> Has some process cleaned this up? Maybe this is my problem? I'm trying

Aye, that is also correct.

After a successful emerge, it deletes the work directory... UNLESS the
FEATURES for that ebuild specifies 'noclean'. 'man ebuild' for more info.

One way to do what you want to do would be to:

# ebuild /path/to/ebuild.file fetch
# ebuild /path/to/ebuild.file unpack

unpack not only untars the tar file, it also applies the retrieved patches
as well. Unpacks into /var/tmp/portage/<pkg name>/work as you deduced.

At that point, you can fiddle with the sources if you like -- it does not
start a compile unless you do the 'ebuild <ebuild.file path> compile' command
which executes src_compile() function in the ebuild file for that package.

-Dan

--
[EMAIL PROTECTED] mailing list

Reply via email to