Re: [gentoo-user] Re: PORTDIR default - changing PORTDIR variable

2013-12-05 Thread Tanstaafl

On 2013-12-04 5:44 PM, Neil Bothwick n...@digimed.co.uk wrote:

On Wed, 04 Dec 2013 16:43:54 -0500, Tanstaafl wrote:


Do I need to re-run layman now to point it to the new repo locations?


You need to edit /etc/layman/layman.cfg to change the storage setting.


Thanks Neil... I actually did that, but I also stupidly copy/pasted the 
new PORTDIR_OVERLAY line, and left them BOTH in make.conf...


Duh...

Once I commented out the old one, eix-sync worked fine with no errors...

Then I mv'd the old /usr/portage dir, did an emerge -pvuDN world, and 
discovered one more thing that must be done after moving PORTDIR...


You must reset your profile link, which is broken after mv'ing the old 
/usr/portage dir.


eselect profile set 1 (in my case)

Thanks to all for helping me with this and prepping for merging /usr 
back into / (this was part of that, to reduce the amount of stuff to 
copy, and to give me a little more free space on / after the move).


Looking forward to getting this done and moving on with my life,,, ;)



[gentoo-user] Re: PORTDIR default - changing PORTDIR variable

2013-12-04 Thread Tanstaafl

On 2013-10-02 4:21 PM, Tanstaafl tansta...@libertytrek.org wrote:

On 2013-10-02 2:24 PM, Tanstaafl tansta...@libertytrek.org wrote:

Ok, thanks much guys... guess I'll go with Alans layout as it makes the
most sense to me:

/var/portage
/var/distfiles
/var/packages


Actually, I think I like:

/var/portage/tree
/var/portage/distfiles
/var/portage/packages


Question about permissions, and PORTDIR_OVERLAY...

I've now copied and rearranged /usr/portage, so that I have the above, 
and I also copied /usr/local/portage to /var/portage/local.


But what are the permissions supposed to be/need to be for each of these?

Currently, they are:

/var/portage/tree (portage:portage, 755)
/var/portage/distfiles (root:portage, 775)
/var/portage/packages (portage:portage, 700)
/var/portage/local (root:root, 755)

So, why are the owners and perms not the same for all of these?

Or, more importantly, should I change any of them, and if so, to what?

Thanks



Re: [gentoo-user] Re: PORTDIR default - changing PORTDIR variable

2013-12-04 Thread Tanstaafl

On 2013-12-04 10:05 AM, Tanstaafl tansta...@libertytrek.org wrote:

I've now copied and rearranged /usr/portage, so that I have the above,
and I also copied /usr/local/portage to /var/portage/local.


And just ran eix-update for the first time since moving portage, and got 
a couple of strange references to the old locations...


First, at the beginning of the main sync (but after layman finished 
syncing), there was a reference to 'duplicate references to...'


Do I need to re-run layman now to point it to the new repo locations?



Re: [gentoo-user] Re: PORTDIR default - changing PORTDIR variable

2013-12-04 Thread Neil Bothwick
On Wed, 04 Dec 2013 16:43:54 -0500, Tanstaafl wrote:

 Do I need to re-run layman now to point it to the new repo locations?

You need to edit /etc/layman/layman.cfg to change the storage setting.


-- 
Neil Bothwick

With free advice you often get what you pay for.


signature.asc
Description: PGP signature


[gentoo-user] Re: PORTDIR default - changing PORTDIR variable

2013-10-02 Thread Thanasis
Set PORTDIR for backward compatibility with various tools like:
euse - bug #474574
euses and ufed - bug #478318

PORTDIR=/usr/portage