Gentoo Archives: gentoo-user

From: Tomas Mozes <tomas.mozes@××××.sk>
To: gentoo-user@l.g.o
Cc: Peter Humphrey <peter@××××××××××××.uk>
Subject: Re: [gentoo-user] Moving the portage tree to /var
Date: Tue, 07 Oct 2014 15:58:38
Message-Id: 8091a56bd212d9dd2ebfadb6498c1199@shmu.sk
In Reply to: [gentoo-user] Moving the portage tree to /var by Peter Humphrey
1 On 2014-10-07 17:09, Peter Humphrey wrote:
2 > Afternoon all,
3 >
4 > As a step towards exporting my portage tree over NFS I decided to move
5 > /usr/portage to /var/portage, but leave /usr/portage/packages and
6 > /usr/portage/distfiles where they are.
7 >
8 > This is how it looks now:
9 >
10 > $ grep DIR= /etc/portage/make.conf
11 > DISTDIR="/usr/portage/distfiles"
12 > PKGDIR="/usr/portage/packages"
13 > PORTDIR="/var/portage"
14 >
15 > $ ls -l /etc/portage/make.profile
16 > lrwxrwxrwx 1 root root 51 Oct 7 15:28 /etc/portage/make.profile ->
17 > ../../var/portage/profiles/default/linux/amd64/13.0
18 >
19 > $ mount | grep portage
20 > /dev/mapper/vg7-portage on /var/portage type ext4 (rw,relatime)
21 > /dev/mapper/vg7-packages on /usr/portage/packages type ext4
22 > (rw,relatime)
23 > /dev/mapper/vg7-distfiles on /usr/portage/distfiles type ext4
24 > (rw,relatime)
25 >
26 > This seems to work OK, except for eix-update, which gives me this:
27 >
28 > $ eix-update
29 > Reading Portage settings ..
30 > Building database (/var/cache/eix/portage.eix) ..
31 > [0] "gentoo" /var/portage/ (cache: metadata-md5-or-flat)
32 > Reading category 162|162 (100%) Finished
33 > [1] "" /usr/portage (cache:
34 > parse|ebuild*#metadata-md5#metadata-flat#assign)
35 > Reading category 162|162 (100%) EMPTY!
36 > [...]
37 >
38 > Evidently something is still pointing to /usr/portage, but I can't see
39 > what. I
40 > used to have layman and a couple of overlays on this box, but they've
41 > now
42 > gone. Well, maybe I left something lying around.
43 >
44 > I've grepped for likely-looking strings, read the docs and prodded
45 > google, but
46 > I can't see what I'm missing. Would someone please help me out? I'm
47 > sure I'm
48 > just being dense.
49
50 Try adjusting /etc/portage/repos.conf/gentoo.conf

Replies

Subject Author
Re: [gentoo-user] Moving the portage tree to /var Tomas Mozes <tomas.mozes@××××.sk>