Olpc-update
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: the source repo is http://dev.laptop.org/git/users/mstone/security
The branch you want is currently called "updater", though this will likely change in the future. There are five important files in the repository. They are:
rainbow/sbin/olpc-update rainbow/sbin/olpc-update-rsync rainbow/rainbow/update.py rainbow/rainbow/launch/targets/update.py rainbow/rainbow/launch/stages/update.py