-
Notifications
You must be signed in to change notification settings - Fork 11
Development
Zsolt Ero edited this page May 1, 2014
·
18 revisions
###Dev environment
- Make sure you install and start Kano DevBox
- Install kano-updater using the icon on the desktop
- Now you will be able to run and develop kano-updater on Kano DevBox!
- Open a terminal and type
sudo kano-updater
###Project details
expand-rootfs > Part of raspi-config (Alex Bradbury). Expands the partition.
kano-updater > Main Python program where the actual update takes effect.
post_update > Script executed after the update has happened
pre_update > Script executed before the update takes place
python_modules > List of 3rd party modules installed in the system
kano_updater/
.../osversion.py > Controls the OS Version.
.../update.py > File used by pre and post update files. Helper to check version before and after the update.
.../utils.py > Utility library used by pre and post update files.
The tool supports graphical and console based modes. In order to do, we check the mode using kanux.utils.is_gui()
- Command line: text driven, requires user to type input.
- Graphical mode: We use Zenity to ask for user input and display information.