Gentoo Archives: gentoo-dev

From: Nils Freydank <holgersson@××××××.de>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] rfc: moving default location of portage tree
Date: Thu, 12 Jul 2018 10:23:10
Message-Id: 3265264.UDTVisvSuz@pygoscelis
In Reply to: Re: [gentoo-dev] rfc: moving default location of portage tree by Alec Warner
1 Am Mittwoch, 11. Juli 2018, 18:19:39 CEST schrieb Alec Warner:
2 > [...]
3 >
4 > +1 to this. The challenge (in moving it) is that its been "/usr/portage"
5 > for a long time so many tools
6 > may have hard coded this location; as opposed to querying portage for where
7 > the tree is, e.g.:
8 >
9 > PORTDIR=$(portageq get_repo_path / gentoo)
10 >
11 > -A
12 Some people including myself moved the tree to /var by variable definitions
13 (and not wild mounting) a while ago. This configuration *is* supported for a
14 while now but not the default and if tools break they have to be fixed anyway.
15
16 (Side note: At least most of the common tools like gentoolkit parts or repoman
17 work on my machines with the moved tree.)
18
19 - Nils
20
21 --
22 GPG fingerprint: '766B 8122 1342 6912 3401 492A 8B54 D7A3 FF3C DB17'
23 Holgersson

Attachments

File name MIME type
signature.asc application/pgp-signature