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: signature.asc
Description: PGP signature

Reply via email to