Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] [RFC] Adding a tiny install-mask directory list to gx86
Date: Fri, 16 Sep 2011 09:35:34
Message-Id: 20110916113653.6e1a3c0d@pomiocik.lan
Hello,

I'm working on a tiny project called install-mask[1] which is
supposedly a simple tool to enable/disable INSTALL_MASK.

One of its features would be a common list of named locations where
users may really want to consider INSTALL_MASK-ing; in a way similar to
USE flags (or even instead of removed USE flags).

So, for example calling:
	install-mask -a systemd
would INSTALL_MASK all locations relevant to systemd, and:
	install-mask -a bash-completion
would mask /usr/share/bash-completion.

The question is: where to store such a directory list?

Keeping it inside project sources doesn't seem right as it would
require me to bump and re-release project every time a directory is
added. Keeping it in separate package which would need to be kept in
sync doesn't seem too good either.

That's why I'm considering including a tiny file in gx86 (and possibly
other repositories) itself. Such a file could have a simple format and
specify mappings of 'install-mask names' (similar to USE flag names) to
lists of directories and possibly descriptions.

This way, we could easily keep it in sync and share among our users.
Moreover, overlays could easily define their own, specific INSTALL_MASK
locations like they can do with USE flags right now.

[1]:https://www.github.com/mgorny/install-mask/

-- 
Best regards,
Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] [RFC] Adding a tiny install-mask directory list to gx86 Donnie Berkholz <dberkholz@g.o>