Fix Google Assistant armhf/armv7 (#1168)

* Fix Google Assistant armhf/armv7

* Bump version
This commit is contained in:
Pascal Vizeli
2020-03-05 11:39:37 +01:00
committed by GitHub
parent 4e43922d46
commit 911689abf7
5 changed files with 12 additions and 4 deletions

View File

@@ -1,5 +1,10 @@
# Changelog
## 2.3.1
- Fix build armv7/armhf
- Spell error break startup
## 2.3.0
- Update Google Assistant SDK 0.5.1

View File

@@ -15,6 +15,7 @@ RUN apt-get update \
libasound2-plugins \
python3 \
python3-dev \
build-essential \
&& curl --silent --show-error --retry 5 \
"https://bootstrap.pypa.io/get-pip.py" \
| python3 \
@@ -25,7 +26,9 @@ RUN apt-get update \
google-assistant-sdk=="${GOOGLE_SDK_VERSION}" \
google-auth=="${GOOGLE_AUTH_VERSION}" \
requests_oauthlib=="${REQUESTS_OAUTHLIB_VERSION}" \
&& apt-get remove -y --purge python3-dev \
&& apt-get remove -y --purge \
python3-dev \
build-essential \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*

View File

@@ -18,4 +18,4 @@ jobs:
- template: /.azure/azp-template-addon.yml
parameters:
addon: "google_assistant"
arch: "--armv7 --amd64"
arch: "--armv7 --armhf --amd64"

View File

@@ -1,6 +1,6 @@
{
"name": "Google Assistant SDK",
"version": "2.3.0",
"version": "2.3.1",
"slug": "google_assistant",
"description": "A virtual personal assistant developed by Google",
"url": "https://github.com/home-assistant/hassio-addons/tree/master/google_assistant",

View File

@@ -23,6 +23,6 @@ elif ! bashio::fs.file_exists "${CRED_JSON}"; then
bashio::exit.nok "You need initialize Google Assistant with a client secret JSON!"
fi
basio::log.info "Starting Home Assistant GAssisant SDK..."
bashio::log.info "Starting Home Assistant GAssisant SDK..."
exec python3 /usr/bin/hassio_gassistant.py \
"${CRED_JSON}" "${PROJECT_ID}" "${MODEL_ID}"