mirror of
https://github.com/aljazceru/addons.git
synced 2026-02-09 23:24:20 +01:00
Fix Google Assistant armhf/armv7 (#1168)
* Fix Google Assistant armhf/armv7 * Bump version
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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/*
|
||||
|
||||
|
||||
@@ -18,4 +18,4 @@ jobs:
|
||||
- template: /.azure/azp-template-addon.yml
|
||||
parameters:
|
||||
addon: "google_assistant"
|
||||
arch: "--armv7 --amd64"
|
||||
arch: "--armv7 --armhf --amd64"
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user