Feeds:
Posts
Comments

Posts Tagged ‘vcs’

Rebuild all your live ebuilds

Sometimes it’s necessary to install a *-9999 ebuild (= build the package direct from subversion, git, etc. repository). But portage only installs it once and never reinstalles it, which sucks.

I tried http://paludis.pioto.org/ once, which has a feature to rebuild such ebuilds in regular intervals.

What I do now is run this command once in a while:

emerge -av1 `eix -Ic | grep 9999 | cut -d' ' -f2`

which essentially uses eix to get all installed ebuilds that have a the version number 9999 and gives it to portage. Enjoy.

UPDATE: portage 2.2 supports new special sets (e.g. world, system), so now emerge -av1 @live-rebuild will do.

Advertisements

Read Full Post »