Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] Moving the portage tree to /var Bruce Schultz <brulzki@×××××.com>
Re: [gentoo-user] Moving the portage tree to /var Neil Bothwick <neil@××××××××××.uk>
Re: [gentoo-user] Moving the portage tree to /var Tomas Mozes <tomas.mozes@××××.sk>