Launch and play LibreELEC/Kodi (rockpro64/rock64 and Debian/Ubuntu host currently) via docker from your desktop. Xorg will close but your services will continue. Shutdown computer from Kodi to return to Xorg. Your settings are stored in $HOME/libreelec-share/
- This pulls the latest nightly release and builds a docker container from the rootfs, allowing you to launch LibreELEC from most any debian/ubuntu host -- as long as the kernel rockchip version matches. (4.4.171 tested, with arm64 kernel and armhf userspace)
- cd to this directory.
- ./install.sh (not with sudo; if a folder pops up during install, close/ignore it; takes 10-15 minutes to complete)
- Launch LibreELEC from desktop application launcher (Media/Games/Video)
Run ./install.sh again at any time to update LibreELEC to the latest version. Your settings/files/add-ons will be retained in $HOME/libreelec-share/
If you want to boot directly into LibreELEC:
- systemctl enable libreelec.service
Notes:
- When using the autostart service, selecting "Shutdown" from Kodi will exit the container and start X.
- Reboot from X or use the desktop icon to return to LibreELEC.
- You can also start that service manually at any time to stop your display-manager and switchback to LibreELEC.
- Rebooting from Kodi will do a soft-reboot of the system.
- cd to this directory.
- ./build-prepare.sh - Install Docker and dependencies.
- ./build-rootfs.sh - Grab and build rootfs. There will be some rsync errors/warnings - it's OK.
- Optional: Review docker/rootfs and build-docker-from-rootfs.sh for files that will be removed. Review docker/startup.sh for how the image is booted.
- ./build-docker-from-rootfs.sh - Build docker from docker/rootfs.
- Launch LibreELEC or /usr/local/bin/libreelec-boot-stopx.sh from desktop, or close your desktop and launch /usr/local/bin/libreelec-boot.sh from tty1.
- ROCKPro64 (RK3399)
- https://github.com/ayufan-rock64/linux-build/releases 0.8.0rc5 -- rc6 does not work -- openmediavault armhf, mate armhf, bionic LXDE arm64, minimal armhf releases tested. The container release does not work. Must be on -1163 kernel or newer.
- https://github.com/mrfixit2001/debian_desktop/releases - Second Release or newer.
- ROCK64 (RK3328)
- https://github.com/ayufan-rock64/linux-build/releases 0.8.0rc5 -- rc6 does not work -- openmediavault armhf, mate armhf, bionic LXDE arm64, minimal armhf releases tested. The container release does not work. Must be on -1163 kernel or newer.
- There will be issues. Currently this is only for RockPro64 and pulls a specific release.
Regards,
- Jason Fisher
- jason dot fisher at gmail dot com