distro: move addon path to config/options

This commit is contained in:
CvH
2020-03-09 21:08:31 +01:00
parent 9f00cd296d
commit 3962fd8d05
2 changed files with 6 additions and 3 deletions

View File

@@ -86,6 +86,10 @@ VERBOSE="${VERBOSE:-yes}"
# directory.
CCACHE_CACHE_SIZE="10G"
# set addon paths
ADDON_PATH="$ADDON_VERSION/$ADDON_PROJECT/$TARGET_ARCH"
ADDON_URL="$ADDON_SERVER_URL/$ADDON_PATH"
# read local persistent options from $ROOT if available
if [ -f "${ROOT}/.libreelec/options" ]; then
. "${ROOT}/.libreelec/options"