- Remove apps and system modules and merge their views into main views.
- Move main_menu from cfg into menu.py.
- Remove dependencies of other modules on apps and system modules.
- Update tests.
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Closes#795. On a Raspberry Pi, the root partition was show as being
mounted from /dev/root. Use information from lsblk to more acurately
indentify the device as /dev/mmcblk0p2.
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
- Show free space of currently mounted partitions. Should help with
people running out of free space and ending up with non-working
system. In future, this module could emit more visible messages.
- Show and allow expanding root partition to help people who have
written FreedomBox images to higher capacity SD cards. Very selective
and restrictive checks to minimize problems.
- Automated tests to ensure expansion works in non-trivial senarious.