diff --git a/google_assistant/CHANGELOG.md b/google_assistant/CHANGELOG.md index 570ba36..424e370 100644 --- a/google_assistant/CHANGELOG.md +++ b/google_assistant/CHANGELOG.md @@ -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 diff --git a/google_assistant/Dockerfile b/google_assistant/Dockerfile index ccdc0ea..430ec37 100644 --- a/google_assistant/Dockerfile +++ b/google_assistant/Dockerfile @@ -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/* diff --git a/google_assistant/azure-pipelines.yml b/google_assistant/azure-pipelines.yml index 702e1b1..473f6a3 100644 --- a/google_assistant/azure-pipelines.yml +++ b/google_assistant/azure-pipelines.yml @@ -18,4 +18,4 @@ jobs: - template: /.azure/azp-template-addon.yml parameters: addon: "google_assistant" - arch: "--armv7 --amd64" + arch: "--armv7 --armhf --amd64" diff --git a/google_assistant/config.json b/google_assistant/config.json index f258c44..e2c85be 100644 --- a/google_assistant/config.json +++ b/google_assistant/config.json @@ -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", diff --git a/google_assistant/rootfs/etc/services.d/google-assistant/run b/google_assistant/rootfs/etc/services.d/google-assistant/run index 756bf8c..8e265de 100644 --- a/google_assistant/rootfs/etc/services.d/google-assistant/run +++ b/google_assistant/rootfs/etc/services.d/google-assistant/run @@ -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}"