On Sunday 28 November 2010 15:28:01 Alan McKinnon wrote:
> Apparently, though unproven, at 11:07 on Sunday 28 November 2010, Mick did
> 
> opine thusly:
> > > This doesn't look right. layman has never installed overlays in that
> > > location for me.
> > 
> > Hmm ... it does for me!  o_O
> > 
> > $ ls -la /var/lib/layman/enlightenment/
> > total 16
> > drwxr-xr-x 25 root root 25 Nov 27 10:33 .
> > drwxr-xr-x  3 root root  8 Nov 27 10:33 ..
> > drwxr-xr-x  4 root root  4 Nov 27 10:33 app-admin
> > drwxr-xr-x  4 root root  4 Nov 27 10:33 app-misc
> 
> Well now, that's just fscking brain dead. Putting data files into areas of
> the file system where executables were there first. Tut, tut, tsk, tsk.
> 
> Now that I think about it, I recall layman doing something like this the
> first time I used it. It drives me batty, along with portage putting the
> tree in /usr/portage so now layman.cfg has this on all my machines
> 
> storage   : /var/portage/local/layman
> 
> and I *always* change $PORTDIR to be /var/portage
> 
> 
> I'd forgotten *why* I always do this. Thanks for the reminder.

The plot thickens ...

I seem to have set up:

PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
DISTDIR=/usr/portage/distfiles
PKGDIR=/usr/portage/packages
PORT_LOGDIR=/var/log/portage
PORTDIR_OVERLAY=/usr/local/portage

and fair enough layman is in there:

$ ls -la /usr/local/portage/
total 2
drwxr-xr-x  3 root root  3 Jun 10 16:38 .
drwxr-xr-x 10 root root 13 Jun  8 22:16 ..
drwxr-xr-x  2 root root  3 Jun 10 16:38 layman

but it's empty, except for a make.conf file:

$ cat /usr/local/portage/layman/make.conf 
PORTDIR_OVERLAY=""

I am guessing that updating/reinstalling layman shifted storage around to its 
default:

storage   : /var/lib/layman

and the make.conf file in there says:

$ cat /var/lib/layman/make.conf 
PORTDIR_OVERLAY="
/var/lib/layman/enlightenment
$PORTDIR_OVERLAY
"

I recall that after some version the default layman overlays location changed 
and there was a post in this list too (but forget when).

Perhaps if you post a bug for a more sane storage location, then the layman 
devs will make a more considered decision on this.
-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to