Friday, February 8, 2013

updateworld.sh - a simple way to manage world updates

This script manages and performs world updates for the Gentoo distro. It can perform the usual sync, emerge world, revdep, etc-update, plus options to add in whatever custom commands you want. It is maintained by a central .conf file to make it easy. The goal is to either give an end-user a simple, customized, and either quiet or verbose world update experience. On top of that it can be set to run autonomously, if you have many deployed Gentoo machines and have approved a branch to update to, pushing out this one line script should make it simple. This script has bash color logging, the default location is in `/var/log/portage`.

To view the made package page : http://code.google.com/p/updateworld
You can find the latest revision of the script on the page : https://code.google.com/p/updateworld/downloads/list

You will also find a basic wiki documentation highlighting the possible features.

The tar has these two important files:

To install :
  • copy updateworld.sh to /usr/local/bin
  • copy updateworld.conf to /etc/conf.d/
  • edit updateworld.conf - should read all the notes and options available

To run a quiet full update :
  • `updateworld.sh --full`

To run a verbose update adding in keep-going and force-sync :
  • `updateworld.sh --go --verbose --keep-going --force-sync`

You can also use the --help flag if you're looking for proper syntax and options.

1 comment:

  1. latest technology gadgets We updating recent technology news and updates on latest app & latest technology gadgets at bulletintech.

    ReplyDelete