when I use a -9999 type ebuild which accesses the source from a GIT
repository this is stored under /usr/portage/distfiles/git-src/$PN
where $PN is the package name.
But one cannot look at the source files since these are in compressed
form.
How can I setup a directory with the uncompressed sources.
I could use
ebuild <PATH TO ebuild file> unpack
and then look at /var/tmp/portage/..../work/....
but is there a direct way (or how does portage do this)?
Many thanks for a hint,
Helmut.
--
Helmut Jarausch
Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany
07-21-2010, 08:45 PM
Kyle Bader
how to "extract" a GIT repository
> ebuild <PATH TO ebuild file> unpack
> and then look at /var/tmp/portage/..../work/....
>
> but is there a direct way (or how does portage do this)?
I'm not sure how portage does this but the git directory is likely
"bare" which is why you don't see any branch files. Try: git clone
/usr/portage/distfiles/git-src/$PN /home/$PN