On Fri, 2018-03-16 at 08:50 +0100, Michał Górny wrote: > 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. > > > W dniu czw, 15.03.2018 o godzinie 21∶44 +0000, użytkownik Joakim > Tjernlund napisał: > > On Thu, 2018-03-15 at 17:02 -0400, Alec Warner wrote: > > > > > > > > > On Thu, Mar 15, 2018 at 3:22 PM, Michał Górny <mgo...@gentoo.org> wrote: > > > > Allow INSTALL_MASK patterns to start with '-' to indicate that > > > > a specific match is to be excluded from being masked. In this case, > > > > the last matching pattern determines whether the file is actually > > > > filtered out or kept. > > > > --- > > > > Yes, please ! I just needed this feature 2 hours ago. > > I need the same for PKG_INSTALL_MASK > > > > I hope this allows me to do: > > INSTALL_MASK="/usr/share/i18n/locales/* -/usr/share/i18n/locales/en_GB > > -/usr/share/i18n/locales/sv_SE" > > to all in /usr/share/i18n/locales/* but /usr/share/i18n/locales/en_GB and > > /usr/share/i18n/locales/sv_SE > > removed in usr/share/i18n/locales/ ? > > > > Yes, that is the intended use case.
Thanks, while on the subject I had a similar idea for stripping: Today one have to build all files in glibc with debug syms just to get debug syms for perf/valgrind in ld.so so it would be great if one could specify that just some files should have debug syms. Jocke