Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Michał Górny <mgorny@g.o>
Subject: install-mask -- a tool for all the 'I don't want this file' complainers
Date: Mon, 19 Sep 2011 10:43:18 +0200
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 (PGP signature)
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Automated Package Removal and Addition Tracker, for the week ending 2011-09-18 23h59 UTC
Next by thread:
finding reverse dependencies for arch testing (and other purposes)
Previous by date:
Re: euscan proof of concept (like debian's uscan)
Next by date:
Re: euscan proof of concept (like debian's uscan)


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.