2015-03-28 11:26 GMT-06:00 James <wirel...@tampabay.rr.com>:
> Jc García <jyo.garcia <at> gmail.com> writes:
>
>
>> I use /usr/bin/ebuild for this, emege run this when building, just
>> run the build up to the prepare function so patches are applied if
>> any, and look in /var/tmp/portage/cat/pkg/work/ for the 'prepared'
>> sources.
>
>> # ebuild $PORTDIR/cat/pkg/pkg-00.ebuild prepare
>
> Ok I'll give this a whirl.
>
>
>> I have this alias in my bashrc for using the ebuild command easily.
>> alias=" sudo -u portage ebuild "
>
>
> Correction
> alias ebuild=" sudo -u portage ebuild "
>
> Ahhh. OK this make it so that proper file ownership is always correct?
>
It is just to not use root, and because the portage user has write
privileges in /var/tmp/portage/