Gentoo Archives: gentoo-portage-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] [PATCHES] Restrict DISTDIR to src_unpack and further
Date: Sat, 18 Mar 2017 19:04:15
Message-Id: 20170318190404.21415-1-mgorny@gentoo.org
1 Hi,
2
3 Here's a not-so-quick batch of patches that adjust DISTDIR shadow dir
4 handling to be alike the new handling of FILESDIR (and needs to be
5 applied on top of that).
6
7 The idea is that DISTDIR has a consistent value throughout all
8 the phases (as required by the PMS) and references the shadow directory.
9 The directory itself is not created until src_unpack, so mistaken
10 accesses in earlier phases are caught early. The accesses in pkg_pre/post
11 phases are not caught yet.
12
13 As usual, this patch can be applied after reasonable set of blockers
14 in ::gentoo is resolved.
15
16 --
17 Best regards,
18 Michał Górny

Replies