public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] install-mask -- a tool for all the 'I don't want this file' complainers
@ 2011-09-19  8:43 Michał Górny
  0 siblings, 0 replies; only message in thread
From: Michał Górny @ 2011-09-19  8:43 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1162 bytes --]

Hello all,

Just a quick note -- I've just committed install-mask-0.0.1 to gx86.
You can use it to quickly set and apply INSTALL_MASK setting so that
you can get rid of the all files you don't want.

The tool is very simple to use. It comes with a few pre-set locations
so you don't need to type in exact paths.

To add a path to INSTALL_MASK use -a:

  install-mask -a systemd
  install-mask -a bash-completion
  install-mask -a /foo/bar

Removal is done through -d, info can be printed using -i (this will
explain preset names as well).

It can also generate rebuild list to apply INSTALL_MASK changes. After
adding new masks, you can do:

  emerge -1v $(install-mask -r)

to rebuild all affected packages. You can also manually 'rm -r'
respective paths -- 'install-mask -r' will not complain about
non-existing files.

Sadly, due to bug #364633 [1] doing the opposite is not possible right
now. When it's fixed, it will require specifying the paths manually (at
least in this version):

  emerge -1v $(install-mask -r bash-completion)

[1]:https://bugs.gentoo.org/show_bug.cgi?id=364633

-- 
Best regards,
Michał Górny

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 316 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-09-19  8:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-19  8:43 [gentoo-dev] install-mask -- a tool for all the 'I don't want this file' complainers Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox