Merge pull request #266 from plexinc/upstream-custom

image : allow other distros to specify a custom version and hash
This commit is contained in:
MilhouseVH 2016-05-01 17:09:26 +01:00
commit d7dc4f9e7f

View File

@ -54,6 +54,14 @@ else
LIBREELEC_BUILD="community"
fi
if [ -n "$CUSTOM_VERSION" ]; then
LIBREELEC_VERSION="$CUSTOM_VERSION"
fi
if [ -n "$CUSTOM_GIT_HASH" ]; then
GIT_HASH="$CUSTOM_GIT_HASH"
fi
TARGET_VERSION="$PROJECT.$TARGET_ARCH-$LIBREELEC_VERSION"
IMAGE_NAME="$DISTRONAME-$TARGET_VERSION"
if [ "$DEVEL_VERSION" = "devel" ] ; then