From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1R5ZRc-0007JC-OB for garchives@archives.gentoo.org; Mon, 19 Sep 2011 08:43:16 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AAAB221C3D3; Mon, 19 Sep 2011 08:42:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 230D321C41D for ; Mon, 19 Sep 2011 08:41:25 +0000 (UTC) Received: from pomiocik.lan (213-238-104-87.adsl.inetia.pl [213.238.104.87]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 27E311B4001; Mon, 19 Sep 2011 08:41:19 +0000 (UTC) Date: Mon, 19 Sep 2011 10:43:18 +0200 From: =?UTF-8?B?TWljaGHFgiBHw7Nybnk=?= To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] install-mask -- a tool for all the 'I don't want this file' complainers Message-ID: <20110919104318.1e565cc2@pomiocik.lan> Organization: Gentoo X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.6; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA256; boundary="Sig_/Z9m+Nh/9K6qzQT0isxCYDRs"; protocol="application/pgp-signature" X-Archives-Salt: X-Archives-Hash: ccbd06e7d6860720cdcc9aed2dcac59f --Sig_/Z9m+Nh/9K6qzQT0isxCYDRs Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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=3D364633 --=20 Best regards, Micha=C5=82 G=C3=B3rny --Sig_/Z9m+Nh/9K6qzQT0isxCYDRs Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) iJwEAQEIAAYFAk53AKcACgkQfXuS5UK5QB0CRwP/a5TS1rTB1ZyUBUL7IphTBEc5 nwyfX7XE2KqGuTZgRdZ9maTGUlbNTluzO9o0M4TkAdDOOHs1CFd9PPsW14Y54gew +Lyi3eLoegpScuO2p9wMUrubP1azZcSNebo0MkC9NoWtTLh9FOB/0XD8uVgBJvvw Mz9P2b6RqGNqPLSvEYM= =ADMo -----END PGP SIGNATURE----- --Sig_/Z9m+Nh/9K6qzQT0isxCYDRs--