Skip to content
smatikainen edited this page Apr 10, 2014 · 7 revisions

The tool

kano-updater is the easiest way to keep your Kano OS up-to-date. It not only performs upgrades of your Python modules and Debian packages, but also cleans the system and expands the SD Card if needed.

How to install it

Kano OS

kano-updater is installed by default in Kano OS.
Package name: kano-updater
Executable path: /usr/bin/kano-updater
Sources:

  • /usr/share/kano-updater
  • /usr/lib/python2.7/dist-packages/kano_updater

Other environments

Follow the development instructions

How it works

  1. Check for internet.
  2. Kill other possible running apps.
  3. Call apt-get update to update the package list.
  4. Upgrade kano-updater itself before doing anything else.
    4.b If kano-updater was upgraded then we need to kill this instance and run it again.
  5. Run the pre_update script before we start upgrading the packages.
  6. Upgrade first the python modules on this list.
  7. Upgrade all the Debian packages, with apt-get upgrade. This will install new version of the packages.
  8. Clean up after the upgrades with autoremove and autoclean.
  9. Run the post_update script as we have finished the update.
  10. Create a report to show the user.
  11. Expand the partition using the code by Alex Bradbury
Clone this wiki locally