mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-24 13:36:31 +00:00
Accept installation with intel-nuc in compatible string (#1265)
* Accept installation with intel-nuc in compatible string For the OS release 6 intel-nuc gets renamed to generic-x86-64. Since the machine name is in the OS compatible string we need to make sure OS release 5 installation can update to release 6 despite the new machine name.
This commit is contained in:
parent
66e5ea3b4b
commit
19c03729f3
@ -14,6 +14,12 @@ case "$1" in
|
||||
if [ "$rauc_os_compatible" = "$RAUC_SYSTEM_COMPATIBLE" ]; then
|
||||
exit 0
|
||||
fi
|
||||
# generic-x86-64: Be compatible with intel-nuc
|
||||
# shellcheck disable=SC2039
|
||||
rauc_board_compatible=${rauc_os_compatible/generic-x86-64/intel-nuc}
|
||||
if [ "${rauc_board_compatible}" = "$RAUC_SYSTEM_COMPATIBLE" ]; then
|
||||
exit 0
|
||||
fi
|
||||
echo "Compatible does not match!" 1>&2
|
||||
exit 10
|
||||
;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user