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 3/3] portage.dbapi.vartree: Support exclusions in INSTALL_MASK
Date: Fri, 16 Mar 2018 08:08:08
Message-Id: 1521187682.4790.192.camel@infinera.com
In Reply to: Re: [gentoo-portage-dev] [PATCH 3/3] portage.dbapi.vartree: Support exclusions in INSTALL_MASK by "Michał Górny"
1 On Fri, 2018-03-16 at 08:50 +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 czw, 15.03.2018 o godzinie 21∶44 +0000, użytkownik Joakim
6 > Tjernlund napisał:
7 > > On Thu, 2018-03-15 at 17:02 -0400, Alec Warner wrote:
8 > > >
9 > > >
10 > > > On Thu, Mar 15, 2018 at 3:22 PM, Michał Górny <mgorny@g.o> wrote:
11 > > > > Allow INSTALL_MASK patterns to start with '-' to indicate that
12 > > > > a specific match is to be excluded from being masked. In this case,
13 > > > > the last matching pattern determines whether the file is actually
14 > > > > filtered out or kept.
15 > > > > ---
16 > >
17 > > Yes, please ! I just needed this feature 2 hours ago.
18 > > I need the same for PKG_INSTALL_MASK
19 > >
20 > > I hope this allows me to do:
21 > > INSTALL_MASK="/usr/share/i18n/locales/* -/usr/share/i18n/locales/en_GB -/usr/share/i18n/locales/sv_SE"
22 > > to all in /usr/share/i18n/locales/* but /usr/share/i18n/locales/en_GB and /usr/share/i18n/locales/sv_SE
23 > > removed in usr/share/i18n/locales/ ?
24 > >
25 >
26 > Yes, that is the intended use case.
27
28 Thanks, while on the subject I had a similar idea for stripping:
29
30 Today one have to build all files in glibc with debug syms just to get debug syms for
31 perf/valgrind in ld.so so it would be great if one could specify that just some files
32 should have debug syms.
33
34 Jocke