mirror of
https://github.com/hassio-addons/addon-airsonos.git
synced 2025-05-05 03:21:32 +00:00
⬆️ Upgrades add-on base image to 6.0.0
This commit is contained in:
parent
95f018eff9
commit
b8f782df4c
5 changed files with 13 additions and 11 deletions
|
@ -1,4 +1,4 @@
|
||||||
ARG BUILD_FROM=ghcr.io/hassio-addons/debian-base/amd64:5.3.0
|
ARG BUILD_FROM=ghcr.io/hassio-addons/debian-base/amd64:6.0.0
|
||||||
# hadolint ignore=DL3006
|
# hadolint ignore=DL3006
|
||||||
FROM ${BUILD_FROM}
|
FROM ${BUILD_FROM}
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
---
|
---
|
||||||
build_from:
|
build_from:
|
||||||
aarch64: ghcr.io/hassio-addons/debian-base/aarch64:5.3.0
|
aarch64: ghcr.io/hassio-addons/debian-base/aarch64:6.0.0
|
||||||
amd64: ghcr.io/hassio-addons/debian-base/amd64:5.3.0
|
amd64: ghcr.io/hassio-addons/debian-base/amd64:6.0.0
|
||||||
armv7: ghcr.io/hassio-addons/debian-base/armv7:5.3.0
|
armv7: ghcr.io/hassio-addons/debian-base/armv7:6.0.0
|
||||||
i386: ghcr.io/hassio-addons/debian-base/i386:5.3.0
|
i386: ghcr.io/hassio-addons/debian-base/i386:6.0.0
|
||||||
codenotary:
|
codenotary:
|
||||||
base_image: codenotary@frenck.dev
|
base_image: codenotary@frenck.dev
|
||||||
signer: codenotary@frenck.dev
|
signer: codenotary@frenck.dev
|
||||||
|
|
2
airsonos/rootfs/etc/cont-init.d/airsonos.sh
Normal file → Executable file
2
airsonos/rootfs/etc/cont-init.d/airsonos.sh
Normal file → Executable file
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/with-contenv bashio
|
#!/command/with-contenv bashio
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
# Home Assistant Community Add-on: AirSonos
|
# Home Assistant Community Add-on: AirSonos
|
||||||
# Checks latency settings before starting the AirSonos server
|
# Checks latency settings before starting the AirSonos server
|
||||||
|
|
10
airsonos/rootfs/etc/services.d/airsonos/finish
Normal file → Executable file
10
airsonos/rootfs/etc/services.d/airsonos/finish
Normal file → Executable file
|
@ -1,9 +1,11 @@
|
||||||
#!/usr/bin/execlineb -S0
|
#!/command/with-contenv bashio
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
# Home Assistant Community Add-on: AirSonos
|
# Home Assistant Community Add-on: AirSonos
|
||||||
# Take down the S6 supervision tree when the AirSonos server fails
|
# Take down the S6 supervision tree when the AirSonos server fails
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
if -n { s6-test $# -ne 0 }
|
if [[ "${1}" -ne 0 ]] && [[ "${1}" -ne 256 ]]; then
|
||||||
if -n { s6-test ${1} -eq 256 }
|
bashio::log.warning "AirSonos crashed, halting add-on"
|
||||||
|
/run/s6/basedir/bin/halt
|
||||||
|
fi
|
||||||
|
|
||||||
s6-svscanctl -t /var/run/s6/services
|
bashio::log.info "AirSonos stopped, restarting..."
|
||||||
|
|
2
airsonos/rootfs/etc/services.d/airsonos/run
Normal file → Executable file
2
airsonos/rootfs/etc/services.d/airsonos/run
Normal file → Executable file
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/with-contenv bashio
|
#!/command/with-contenv bashio
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
# Home Assistant Community Add-on: AirSonos
|
# Home Assistant Community Add-on: AirSonos
|
||||||
# Runs the AirSonos server
|
# Runs the AirSonos server
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue