Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] install-mask -- a tool for all the 'I don't want this file' complainers
Date: Mon, 19 Sep 2011 08:43:16
Message-Id: 20110919104318.1e565cc2@pomiocik.lan
1 Hello all,
2
3 Just a quick note -- I've just committed install-mask-0.0.1 to gx86.
4 You can use it to quickly set and apply INSTALL_MASK setting so that
5 you can get rid of the all files you don't want.
6
7 The tool is very simple to use. It comes with a few pre-set locations
8 so you don't need to type in exact paths.
9
10 To add a path to INSTALL_MASK use -a:
11
12 install-mask -a systemd
13 install-mask -a bash-completion
14 install-mask -a /foo/bar
15
16 Removal is done through -d, info can be printed using -i (this will
17 explain preset names as well).
18
19 It can also generate rebuild list to apply INSTALL_MASK changes. After
20 adding new masks, you can do:
21
22 emerge -1v $(install-mask -r)
23
24 to rebuild all affected packages. You can also manually 'rm -r'
25 respective paths -- 'install-mask -r' will not complain about
26 non-existing files.
27
28 Sadly, due to bug #364633 [1] doing the opposite is not possible right
29 now. When it's fixed, it will require specifying the paths manually (at
30 least in this version):
31
32 emerge -1v $(install-mask -r bash-completion)
33
34 [1]:https://bugs.gentoo.org/show_bug.cgi?id=364633
35
36 --
37 Best regards,
38 Michał Górny

Attachments

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