Am 09.07.2018 um 20:05 schrieb Rich Freeman: > On Mon, Jul 9, 2018 at 1:40 PM Ulrich Mueller <u...@gentoo.org> wrote: >> >>>>>>> On Mon, 9 Jul 2018, William Hubbs wrote: >> >>> is there a tracker for when the portage tree can be moved out of >>> /usr/portage by default? >> >>> If not, what is the status of us being able to do this? >> >> Please remind me, what was the plan for the new location? >> Somewhere under /var/db or /var/lib, IIRC? >> > > I'd also consider /var/cache here as well. FHS specifically suggests > using it for web caches and the like (let's set aside the issue with > making that global), though for the most part it is more metadata > caching. A key principle is that it can be wiped without loss of > data, and I think that is generally true for the repository since it > can be synced. > > Stuff in /var/lib can't be deleted without some kind of loss of > application state. /var/db isn't in FHS, and I note that even mysql > sticks its stuff in /var/lib. >
Imho it would make sense to split up portage files with this change. Move the tree (ebuilds, profiles etc) to /var/lib/... and the metadata cache to /var/db as it can be regenerated out of the tree. Best regards, Johannes
signature.asc
Description: OpenPGP digital signature