Difference between revisions of "LinuxMCE System Update"

From LinuxMCE
Jump to: navigation, search
Line 6: Line 6:
  
 
== File Details ==
 
== File Details ==
 +
 +
= This information seems to be outdated. At least in 0710b3 there are no such files. =
 +
 
LinuxMCE live updating system is taking care of by 4 shell scripts:
 
LinuxMCE live updating system is taking care of by 4 shell scripts:
  

Revision as of 14:40, 15 February 2008

This article needs to be fixed and/or categorized.
Please contribute by fixing this article or other that needs to be fixed.


General Info

Package: pluto-update-system

Directory: src/PlutoUpdateSystem

File Details

This information seems to be outdated. At least in 0710b3 there are no such files.

LinuxMCE live updating system is taking care of by 4 shell scripts:

DownloadUpdates.sh
This script is runned by cron and downloads all the needed deb packages for doing an dist-upgrade on the Core and all of it's MDs. Also this script calls the NotifyUpdates.sh script to notify the user that the updates are available and he shoule reboot certain machine so they can be installed. This script runs only on the Core.
ApplyUpdates.sh
This is a startup script and is runned by the /etc/init.d/fastboot/rcS.d system initialization script before any of the LinuxMCE services get started. It checks if DownloadUpdates has downloaded all the needed packages and if so, it trigers a dist-updagrade. If a new kernel is one of the updated packages he also takes care of rebooting the system after all the updates are installed. This script is runned by Core and all the Diskless MDs.
NotifyUpdates.sh
Notifies the user via orbiters that updates are available and that certain machines should do a reboot so they can update. It takes the PK_Device of the machine that needs to reboot as a parameter.
ForceUpdates.sh
Force system update. It kill all instances of already run DownloadUpdates.sh and ForceUpdates.sh, display notification message about reboot on all Orbiters and send a command to the Core to reboot it and start process of system update.

How to upgrade manually

Quoting nite_man from forum :

You can do upgrade manually. Go to the /usr/pluto/bin and run one by one two scripts:


./DownloadUpdates.sh 

and

./ApplyUpdates.sh  


The first one will download all updated packages and the second one will apply changes to the LinuxMCE installation.

Note: you should wain until DownloadUpdates.sh finish. Also, you can ignore some warnings which may be generated by this script (you can see the log /var/log/pluto/DownloadUpdates.log)

Another way to perform system update is use the Orbiter:

  More --> Advanced Options --> Force Upgrade Now

It forces reboot your core and starts upgrade.