Gentoo Archives: gentoo-user

From: Bruce Schultz <brulzki@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Moving the portage tree to /var
Date: Tue, 07 Oct 2014 15:31:08
Message-Id: 1ED07205-C857-49AB-8E2D-1323321D9161@gmail.com
In Reply to: [gentoo-user] Moving the portage tree to /var by Peter Humphrey
1 On 8 October 2014 1:09:54 AM AEST, Peter Humphrey <peter@××××××××××××.uk> 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 Check /etc/portage/repos.conf
51
52 Bruce
53 --
54 Sent from my Android device with K-9 Mail. Please excuse my brevity.

Replies

Subject Author
Re: [gentoo-user] Moving the portage tree to /var Peter Humphrey <peter@××××××××××××.uk>