Gentoo Archives: gentoo-dev

From: Ulrich Mueller <ulm@g.o>
To: Krzysztof Pawlik <nelchael@g.o>
Cc: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] RFC: new feature to disable merging into stray locations
Date: Mon, 30 Apr 2012 08:40:30
Message-Id: 20382.20404.882544.422756@a1i15.kph.uni-mainz.de
In Reply to: Re: [gentoo-dev] RFC: new feature to disable merging into stray locations by Krzysztof Pawlik
1 >>>>> On Mon, 30 Apr 2012, Krzysztof Pawlik wrote:
2
3 > On 30/04/12 10:12, Ulrich Mueller wrote:
4 >> If the eclass doesn't work with FEATURES="collision-protect" then it
5 >> needs to be fixed.
6
7 > Long story short: older eclass compiled Python byte code in live
8 > file system, new one does it in src_install so .pyo/.pyc gets
9 > properly recorded,
10
11 That's a good change.
12
13 > so the package *has to overwrite* files that are not owned by anyone
14 > (no package owns them).
15
16 The usual approach to this problem was to have some cleanup code in
17 pkg_setup or pkg_preinst that would remove the old files.
18
19 Ulrich

Replies

Subject Author
Re: [gentoo-dev] RFC: new feature to disable merging into stray locations Krzysztof Pawlik <nelchael@g.o>