1 |
On Sunday 28 November 2010 15:28:01 Alan McKinnon wrote: |
2 |
> Apparently, though unproven, at 11:07 on Sunday 28 November 2010, Mick did |
3 |
> |
4 |
> opine thusly: |
5 |
> > > This doesn't look right. layman has never installed overlays in that |
6 |
> > > location for me. |
7 |
> > |
8 |
> > Hmm ... it does for me! o_O |
9 |
> > |
10 |
> > $ ls -la /var/lib/layman/enlightenment/ |
11 |
> > total 16 |
12 |
> > drwxr-xr-x 25 root root 25 Nov 27 10:33 . |
13 |
> > drwxr-xr-x 3 root root 8 Nov 27 10:33 .. |
14 |
> > drwxr-xr-x 4 root root 4 Nov 27 10:33 app-admin |
15 |
> > drwxr-xr-x 4 root root 4 Nov 27 10:33 app-misc |
16 |
> |
17 |
> Well now, that's just fscking brain dead. Putting data files into areas of |
18 |
> the file system where executables were there first. Tut, tut, tsk, tsk. |
19 |
> |
20 |
> Now that I think about it, I recall layman doing something like this the |
21 |
> first time I used it. It drives me batty, along with portage putting the |
22 |
> tree in /usr/portage so now layman.cfg has this on all my machines |
23 |
> |
24 |
> storage : /var/portage/local/layman |
25 |
> |
26 |
> and I *always* change $PORTDIR to be /var/portage |
27 |
> |
28 |
> |
29 |
> I'd forgotten *why* I always do this. Thanks for the reminder. |
30 |
|
31 |
The plot thickens ... |
32 |
|
33 |
I seem to have set up: |
34 |
|
35 |
PORTAGE_TMPDIR=/var/tmp |
36 |
PORTDIR=/usr/portage |
37 |
DISTDIR=/usr/portage/distfiles |
38 |
PKGDIR=/usr/portage/packages |
39 |
PORT_LOGDIR=/var/log/portage |
40 |
PORTDIR_OVERLAY=/usr/local/portage |
41 |
|
42 |
and fair enough layman is in there: |
43 |
|
44 |
$ ls -la /usr/local/portage/ |
45 |
total 2 |
46 |
drwxr-xr-x 3 root root 3 Jun 10 16:38 . |
47 |
drwxr-xr-x 10 root root 13 Jun 8 22:16 .. |
48 |
drwxr-xr-x 2 root root 3 Jun 10 16:38 layman |
49 |
|
50 |
but it's empty, except for a make.conf file: |
51 |
|
52 |
$ cat /usr/local/portage/layman/make.conf |
53 |
PORTDIR_OVERLAY="" |
54 |
|
55 |
I am guessing that updating/reinstalling layman shifted storage around to its |
56 |
default: |
57 |
|
58 |
storage : /var/lib/layman |
59 |
|
60 |
and the make.conf file in there says: |
61 |
|
62 |
$ cat /var/lib/layman/make.conf |
63 |
PORTDIR_OVERLAY=" |
64 |
/var/lib/layman/enlightenment |
65 |
$PORTDIR_OVERLAY |
66 |
" |
67 |
|
68 |
I recall that after some version the default layman overlays location changed |
69 |
and there was a post in this list too (but forget when). |
70 |
|
71 |
Perhaps if you post a bug for a more sane storage location, then the layman |
72 |
devs will make a more considered decision on this. |
73 |
-- |
74 |
Regards, |
75 |
Mick |