mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
Merge pull request #266 from plexinc/upstream-custom
image : allow other distros to specify a custom version and hash
This commit is contained in:
commit
d7dc4f9e7f
@ -54,6 +54,14 @@ else
|
|||||||
LIBREELEC_BUILD="community"
|
LIBREELEC_BUILD="community"
|
||||||
fi
|
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"
|
TARGET_VERSION="$PROJECT.$TARGET_ARCH-$LIBREELEC_VERSION"
|
||||||
IMAGE_NAME="$DISTRONAME-$TARGET_VERSION"
|
IMAGE_NAME="$DISTRONAME-$TARGET_VERSION"
|
||||||
if [ "$DEVEL_VERSION" = "devel" ] ; then
|
if [ "$DEVEL_VERSION" = "devel" ] ; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user