Gentoo: The Bastard 1

Posted by Joshua Schmidlkofer Tue, 21 Mar 2006 10:00:00 GMT

I may not be much of a shell scripter, or a programmer. However, I wrote a utility that saved me more than 30 minutes of time tonight. The Bastard does mass unmasking and keywords overrides for portage packages. Who needs this? People who wish to run Gnome 2.14 before it's unmasked. Lots of the tools will be hardmasked due to a common practice of using shotgun-style keywords:

gnome-base/gnome   ~x86

In this case, a hard-mask is nessecary. Emerge will report this too you when you run it on a masked package. [Keywords or hard mask]. So I wrote a little utility to repeteadly run emerge, catch the output and update /etc/portage/package.keywords and /etc/portage/package.mask. Nice. =).
Comments

Leave a comment

  1. Avatar
    Jason White 15 days later:
    Gnome 2.14 works like a champ thanks to The Bastard. I wouldn't mind a comment line on each pass or at least each invocation so I know what the entries are for (I've used this for several things other than gnome-2.14 since I've gotten it) This makes me wonder if maybe they should branch the profiles a little more. A bleeding edge 2006.xorgR7.XGL.Gnome-2.14 profile might actually be easier (and more resueable) than all the masking tape.
Comments