init: stop checking for OPENELEC_ARCH

This stops LE's update checker from accepting OE images as system
updates. The checker may be disabled if someone wants to do this.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
This commit is contained in:
Ian Leonard 2021-03-23 00:17:45 +00:00
parent 32b3089c1b
commit dba57ca636

View File

@ -263,7 +263,7 @@ mount_sysroot() {
get_project_arch() {
if [ -f ${1}/etc/os-release ]; then
. ${1}/etc/os-release
echo "${OPENELEC_ARCH:-${LIBREELEC_ARCH}}"
echo "${LIBREELEC_ARCH}"
fi
}