UbuntuCockpit is a Ubuntu chroot subsystem for DreamOS. It not only allows to run python3 server apps but also provides access to the vast Ubuntu ecosystem.
To enter the ubuntu subsystem open a telnet session:
- cd /data/ubuntu/root
- ./enter_chroot
- cd /root (home dir)
- source venv/bin/active (python venv)
Now the Ubuntu subsystem is active. DreamOs continues to run.
To leave the ubuntu subsystem:
- deactivate (python venv)
- exit
- cd /data/ubuntu/root
- ./umount_chroot (this is required for the DreamOs subsystem to shutdown without hang)
For this use case no manual actions are required. The python2 plugin activates chroot and runs the python3 plugin part.
- UBU is being tested on DM 920 and DM ONE (OE 2.6) only