Gentoo Archives: gentoo-portage-dev

From: Joakim Tjernlund <Joakim.Tjernlund@××××××××.com>
To: "gentoo-portage-dev@l.g.o" <gentoo-portage-dev@l.g.o>
Subject: Re: [gentoo-portage-dev] [PATCH 0/3] INSTALL_MASK refurbishing resubmit
Date: Sun, 18 Mar 2018 09:57:19
Message-Id: 1521367030.4790.211.camel@infinera.com
In Reply to: Re: [gentoo-portage-dev] [PATCH 0/3] INSTALL_MASK refurbishing resubmit by "Michał Górny"
1 On Fri, 2018-03-16 at 09:13 +0100, Michał Górny wrote:
2 > CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
3 >
4 >
5 > W dniu pią, 16.03.2018 o godzinie 08∶11 +0000, użytkownik Joakim
6 > Tjernlund napisał:
7 > > On Thu, 2018-03-15 at 20:22 +0100, Michał Górny wrote:
8 > > > CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
9 > > >
10 > > >
11 > > > Hi,
12 > > >
13 > > > Here are three of four INSTALL_MASK updates I've sent long time ago
14 > > > which were not really reviewed. The fourth patch added support
15 > > > for repo-defined install-mask.conf and I'll do that separately.
16 > > >
17 > > > Those patches focus on smaller changes. What they change, in order:
18 > > >
19 > > > 1. Removes explicit file removal code for FEATURES=no*. Instead, those
20 > > > values are converted into additional INSTALL_MASK entries
21 > > > and handled directly via INSTALL_MASK processing.
22 > > >
23 > > > 2. Rework INSTALL_MASK to filter files while installing instead of
24 > > > pre-stripping them. In other words, before: INSTALL_MASK removes
25 > > > files from ${D} before merge. After: ${D} contains all the files,
26 > > > Portage just skip INSTALL_MASK-ed stuff, verbosely indicating that.
27 > >
28 > > Will this also remove corresponding split debug files?
29 > > There would be little/no point in keeping debug syms if the binary has been
30 > > MASKed
31 > >
32 >
33 > Nope. Add both paths to INSTALL_MASK. Expecting it to do implicit magic
34 > is a very bad idea.
35
36 Maybe but it also makes senses to get rid of them. To me it is only a matter
37 of applying PKG_INSTALL_MASK before applying strip debug, does that make sense ?
38
39 Jocke