Olpc-update

From OLPC
Revision as of 22:28, 25 September 2007 by 60.229.4.229 (talk) (New page: Wiki page name set so that someone else will figure out an appropriate name. This method of updating from one OS build to another is experimental. It works by transferring only the diffe...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Wiki page name set so that someone else will figure out an appropriate name.

This method of updating from one OS build to another is experimental. It works by transferring only the differences across the internet link to an updates server.

The current updates server is updates.laptop.org.

Usage:

  • be root at a command prompt,
  • type olpc-update NNN where NNN is the build number.

/usr/sbin/olpc-update

What update targets are available?

# rsync rsync://updates.laptop.org | sort

What is the latest version of the updater?

# wget http://dev.laptop.org/~mstone/olpccontents-latest.rpm
# wget http://dev.laptop.org/~mstone/rainbow-latest.rpm
# rpm --upgrade --force olpccontents-latest.rpm rainbow-latest.rpm

How can I re-use the bits for multiple laptops?

A: this feature is not yet available, but in the meanwhile you can make your own updates server based on the updates available. You will need to change the olpc-update script. For ideas:

# rsync FLAGS rsync://updates.laptop.org/build-NNN/manifest
# rsync FLAGS rsync://udpates.laptop.org/build-NNN/root/

Where is the source?

A: source repo is /users/mstone/security on dev, therefore the git repository is http://dev.laptop.org/git?p=users/mstone/security;a=blob;f=rainbow/sbin/olpc-update;h=07fff4f9d51bd2bc36b90987dd0b623e1d7c1f3d;hb=37e1dce69d5c32cdeb11a726ab41d8aba661982c