image : allow distros to use a custom version and git hash

This commit is contained in:
longchair 2016-05-01 17:41:23 +02:00
parent ac8e298b5c
commit d2450fa3ee

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