On Sat, Aug 29, 2015 at 12:35 PM, Fernando Rodriguez
<frodriguez.develo...@outlook.com> wrote:
> It's probably easier to do this:
>
> # cd /usr/portage
> # rm -r *
> # git clone <repo-uri> .

The only issue with this is that all the files end up being owned by
root.  I'd just create /usr/portage, chown portage:portage
/usr/portage, and then let emerge --sync take care of the rest.

To cut down on replies, I'm not sure what the emerge --sync behavior
is if you have changes in the tree.  I suspect that as long as they
don't conflict they'll still sync, but in general you shouldn't leave
uncommitted changes lying around /usr/portage.  It is just convenient
to be able to tweak packages, get them cleaned up, and then generate
patches.

-- 
Rich

Reply via email to