Skip to content

Commit

Permalink
add model&build error.
Browse files Browse the repository at this point in the history
  • Loading branch information
wjz304 committed Apr 28, 2023
1 parent bb6fbf0 commit f06b0e4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file removed files/board/arpl/grub.bin
Binary file not shown.
2 changes: 1 addition & 1 deletion files/board/arpl/overlayfs/opt/arpl/boot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ SN="`readConfigKey "sn" "${USER_CONFIG_FILE}"`"
echo -e "$(TEXT "Model:") \033[1;36m${MODEL}\033[0m"
echo -e "$(TEXT "Build:") \033[1;36m${BUILD}\033[0m"

if [ ! -f "${MODEL_CONFIG_PATH}/${MODEL}.yml" ]; then
if [ ! -f "${MODEL_CONFIG_PATH}/${MODEL}.yml" ] || [ -z "`readConfigKey "builds.${BUILD}" "${MODEL_CONFIG_PATH}/${MODEL}.yml"`" ]; then
echo -e "\033[1;33m*** `printf "$(TEXT "The current version of arpl does not support booting %s-%s, please rebuild.")" "${MODEL}" "${BUILD}"` ***\033[0m"
exit 1
fi
Expand Down

0 comments on commit f06b0e4

Please sign in to comment.