image: drop OPENELEC_ARCH from /etc/os-release

Also swaps the necessary variable check in busybox/init to acoomodate OPENELEC_ARCH
may or may not exist, while LIBREELEC_ARCH will be assumed to exist.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
This commit is contained in:
Ian Leonard
2019-05-03 23:11:21 +00:00
parent 6b93ae6ae0
commit 1fcc9d3247
3 changed files with 1 additions and 3 deletions

View File

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