Gentoo Archives: gentoo-portage-dev

From: "Michał Górny" <mgorny@g.o>
To: 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 07:50:20
Message-Id: 1521186612.1183.0.camel@gentoo.org
In Reply to: Re: [gentoo-portage-dev] [PATCH 3/3] portage.dbapi.vartree: Support exclusions in INSTALL_MASK by Joakim Tjernlund
1 W dniu czw, 15.03.2018 o godzinie 21∶44 +0000, użytkownik Joakim
2 Tjernlund napisał:
3 > On Thu, 2018-03-15 at 17:02 -0400, Alec Warner wrote:
4 > >
5 > >
6 > > On Thu, Mar 15, 2018 at 3:22 PM, Michał Górny <mgorny@g.o> wrote:
7 > > > Allow INSTALL_MASK patterns to start with '-' to indicate that
8 > > > a specific match is to be excluded from being masked. In this case,
9 > > > the last matching pattern determines whether the file is actually
10 > > > filtered out or kept.
11 > > > ---
12 >
13 > Yes, please ! I just needed this feature 2 hours ago.
14 > I need the same for PKG_INSTALL_MASK
15 >
16 > I hope this allows me to do:
17 > INSTALL_MASK="/usr/share/i18n/locales/* -/usr/share/i18n/locales/en_GB -/usr/share/i18n/locales/sv_SE"
18 > to all in /usr/share/i18n/locales/* but /usr/share/i18n/locales/en_GB and /usr/share/i18n/locales/sv_SE
19 > removed in usr/share/i18n/locales/ ?
20 >
21
22 Yes, that is the intended use case.
23
24 --
25 Best regards,
26 Michał Górny

Replies

Subject Author
Re: [gentoo-portage-dev] [PATCH 3/3] portage.dbapi.vartree: Support exclusions in INSTALL_MASK Joakim Tjernlund <Joakim.Tjernlund@××××××××.com>