-
Notifications
You must be signed in to change notification settings - Fork 11
Introduction
smatikainen edited this page Apr 10, 2014
·
7 revisions
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.
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
Follow the development instructions
- Check for internet.
- Kill other possible running apps.
- Call
apt-get update
to update the package list. - 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. - Run the pre_update script before we start upgrading the packages.
- Upgrade first the python modules on this list.
- Upgrade all the Debian packages, with
apt-get upgrade
. This will install new version of the packages. - Clean up after the upgrades with
autoremove
andautoclean
. - Run the post_update script as we have finished the update.
- Create a report to show the user.
- Expand the partition using the code by Alex Bradbury