Yeah I see OpenELEC.tv sub module is now obsolete and it says see OpenPHT-Embedded instead which is a fork of LibreELEC, although the sub module folder in git is still called OpenELEC.tv I assume as to not break the build scripts
So to re-phrase the question, are there any instructions for rebuilding Rasplex now its based on LibreELEC?
Build instructions is included in README.md in the OpenPHT-Embedded repo.
git clone https://github.com/RasPlex/OpenPHT-Embedded.git
cd OpenPHT-Embedded
DISTRO=RasPlex PROJECT=RPi2 ARCH=arm make image
Edit: The plex-home-theater and OpenELEC.tv submodules points to the OpenPHT repos, but builds are now more easily made directly from the OpenPHT-Embedded repo. The OpenPHT and settings add-on repo is cloned with --depth 1 during the build.
Could you give me any guidance on the best way once the initial build has completed to make incremental changes to OpenPHT [which is the only thing I’m looking to mod], and then rebuild?
I note the build scripts put the plexht source in build.RasPlex-RPi2.arm-7.0-devel/plexht-1.6 - changing anything in here and then re-running the make command doesnt cause a rebuild - just a reimage. Removing the stamp files for plexht does a rebuild, but the entire lot not just what I’ve changed. Running ninja from the ./arm dir in plexht also rebuilds, but is there a better way? A switch/env var for the top level make file that will do a rebuild of just whats changed?
The script for the plexht package supports using OPENPHT_REPO and OPENPHT_BRANCH environment variables to override what repo/branch to build. You can set default overrides in ~/.libreelec/options like I have on my local build host.