Gentoo Archives: gentoo-dev

From: Ulrich Mueller <ulm@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Proposed future EAPI feature: FILES whitelist
Date: Wed, 21 Sep 2016 06:44:55
Message-Id: 22498.11345.825048.267619@a1i15.kph.uni-mainz.de
In Reply to: Re: [gentoo-dev] Proposed future EAPI feature: FILES whitelist by Kent Fredric
1 >>>>> On Wed, 21 Sep 2016, Kent Fredric wrote:
2
3 >> Under that new scheme, how would I apply patches unpacked into
4 >> WORKDIR? In EAPI 6, I can put them into the PATCHES variable and use
5 >> the default src_prepare to process it.
6
7 > oh. Right. Huh, I had somehow overlooked there was already a PATCHES
8 > in EAPI6, because I'd been using an equivalent since EAPI5 :)
9
10 > Right, so this would kill 90% of my suggestion by
11 > already-being-defined.
12
13 > So the only remaining thing to think about in terms of usefulness is
14 > the ability for repoman to potentially validate entries in PATCHES.
15
16 > In your scenario where you have local patches instead of patches in
17 > ${FILESDIR}, what does the contents of PATCHES look like?
18
19 Well, it could contain entries for both types of paths, like
20 "${WORKDIR}"/path/to/foo.patch or "${FILESDIR}"/path/to/bar.patch.
21
22 > Would there be a way to identify entries in PATCHES that are
23 > children of ${FILESDIR} during `repoman full` and assert they exist?
24
25 Obviously they could be identified by their explicit ${FILESDIR}.
26
27 Ulrich

Replies

Subject Author
Re: [gentoo-dev] Proposed future EAPI feature: FILES whitelist Kent Fredric <kentnl@g.o>