This is an Enhanced Edition of LibreELEC.tv, which makes the device can act as both a media box and a router/server.
Currently it's only tested on ROCKCHIP NANOPC T4
docker build --pull -t libreelec tools/docker/bookworm
docker run \
-it --rm \
--log-driver none \
-e DISTRO="EnhancedELEC" \
-e ADDON_OVERWRITE="yes" \
-v $(pwd):/build \
-v ~/.libreelec/:/build/.libreelec \
-w /build libreelec bash
# RUN the real build
export PROJECT=Rockchip ARCH=aarch64 DEVICE=RK3399 UBOOT_SYSTEM=nanopc-t4 CUSTOM_VERSION=999
make imageTo bundle pre-installed addons (e.g. Docker, Chinese language pack) into the image, build addons first then use OEM=yes:
scripts/create_addon docker
OEM=yes make image- network stack tools like: nftables ipset conntrack etc...
- bubblewrap
- docker (Kodi addon, a relatively latest version)
- systemd-nspawn / machinectl (with persistent
/data/systemd-machineslink at storage/storage/.data) - systemd-coredump / coredumpctl (with Zstd compression, persistent
/storage/.cache/coredumpstorage) - agetty
- entware (install via
installentware, ported from CoreELEC, could be disabled byENTWARE_SUPPORT=no) - fstrim.service (disabled by default, enable via
systemctl enable fstrim.timer) - ...
- serial-getty on UART with auto login (could be disabled by
systemctl mask serial-getty@ttyS2) - a series of systemd VT/console/tty pre-defined services
- coredump configuration overlay at
/storage/.config/coredump.conf.d/(user-overridable) - systemd-nspawn configuration overlay at
/storage/.config/systemd-nspawn/(user-overridable) - ...