mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user