Check Config 3.7.0 (#1975)

* Check Config 3.7.0

* Typo

* Bump base image

* Fix S6 Supervisor not listening message
This commit is contained in:
Franck Nijhof
2021-04-27 15:15:42 +02:00
committed by GitHub
parent daee44ddfb
commit 9bbe607cf6
5 changed files with 17 additions and 13 deletions

View File

@@ -1,5 +1,12 @@
# Changelog # Changelog
## 3.7.0
- Update base image to 2021.04.2
- Suppress PIP install output, unless an error occurs
- Remove udev usage, replaced by uart & usb flag
- Fix S6 supervisor not listening message
## 3.6.0 ## 3.6.0
- Change to rsync for copy - Change to rsync for copy

View File

@@ -1,9 +1,9 @@
{ {
"build_from": { "build_from": {
"aarch64": "homeassistant/aarch64-homeassistant-base:8.4.0", "aarch64": "ghcr.io/home-assistant/aarch64-homeassistant-base:2021.04.2",
"amd64": "homeassistant/amd64-homeassistant-base:8.4.0", "amd64": "ghcr.io/home-assistant/amd64-homeassistant-base:2021.04.2",
"armhf": "homeassistant/armhf-homeassistant-base:8.4.0", "armhf": "ghcr.io/home-assistant/armhf-homeassistant-base:2021.04.2",
"armv7": "homeassistant/armv7-homeassistant-base:8.4.0", "armv7": "ghcr.io/home-assistant/armv7-homeassistant-base:2021.04.2",
"i386": "homeassistant/i386-homeassistant-base:8.4.0" "i386": "ghcr.io/home-assistant/i386-homeassistant-base:2021.04.2"
} }
} }

View File

@@ -1,11 +1,12 @@
{ {
"name": "Check Home Assistant configuration", "name": "Check Home Assistant configuration",
"version": "3.6.0", "version": "3.7.0",
"slug": "check_config", "slug": "check_config",
"description": "Check current Home Assistant configuration against a new version", "description": "Check current Home Assistant configuration against a new version",
"url": "https://github.com/home-assistant/hassio-addons/tree/master/check_config", "url": "https://github.com/home-assistant/hassio-addons/tree/master/check_config",
"arch": ["armhf", "armv7", "aarch64", "amd64", "i386"], "arch": ["armhf", "armv7", "aarch64", "amd64", "i386"],
"udev": true, "uart": true,
"usb": true,
"startup": "once", "startup": "once",
"boot": "manual", "boot": "manual",
"init": false, "init": false,

View File

@@ -1,4 +1,4 @@
#!/usr/bin/execlineb -S0 #!/usr/bin/execlineb -S1
# ============================================================================== # ==============================================================================
# Take down the S6 supervision tree when config check is done # Take down the S6 supervision tree when config check is done
# ============================================================================== # ==============================================================================

View File

@@ -4,10 +4,6 @@
# ============================================================================== # ==============================================================================
VERSION=$(bashio::config 'version') VERSION=$(bashio::config 'version')
# Create udev devices
bashio::log.info "Setup udev devices"
bashio::hardware.trigger
# Generate install string # Generate install string
CMD="homeassistant" CMD="homeassistant"
if [ "${VERSION}" != "latest" ]; then if [ "${VERSION}" != "latest" ]; then
@@ -19,7 +15,7 @@ bashio::log.info "Installing Home Assistant: ${VERSION}..."
bashio::log.info "Please be patient, this might take a few minutes..." bashio::log.info "Please be patient, this might take a few minutes..."
# Install Home Assistant with the requested version # Install Home Assistant with the requested version
if ! PIP_OUTPUT="$(pip3 install --disable-pip-version-check --find-links "${WHEELS_LINKS}" "${CMD}")"; then if ! PIP_OUTPUT="$(pip3 install --disable-pip-version-check --find-links "${WHEELS_LINKS}" "${CMD}" 2>&1)"; then
bashio::log.error "An error occurred while installing Home Assistant:" bashio::log.error "An error occurred while installing Home Assistant:"
bashio::log "${PIP_OUTPUT}" bashio::log "${PIP_OUTPUT}"
bashio::exit.nok bashio::exit.nok