mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-09-20 08:44:00 +02:00
Compare commits
1 Commits
fc07a2d1b4
...
claude/iss
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
042e3bf05a |
@@ -1,4 +1,10 @@
|
||||
|
||||
## 4.16-r0-ls93.1 (2026-07-28)
|
||||
- Fix crash loop on start: make the `init-video` and `init-selkies-config` oneshots
|
||||
tolerant of their best-effort device/permission setup failing in the HA add-on
|
||||
sandbox, so a non-zero exit no longer crash-loops the container and `svc-selkies`
|
||||
(closes #2918)
|
||||
|
||||
## 4.16-r0-ls93 (2026-07-21)
|
||||
- Update to latest version from linuxserver/docker-webtop (changelog : https://github.com/linuxserver/docker-webtop/releases)
|
||||
|
||||
|
||||
@@ -81,3 +81,16 @@ ln -sf /config/.cache /.cache
|
||||
bashio::log.info "Setting ownership to $PUID:$PGID"
|
||||
chown -R "$PUID":"$PGID" "$LOCATION"
|
||||
chmod -R 700 "$LOCATION"
|
||||
|
||||
# The Selkies desktop init oneshots do best-effort device/permission setup (mknod
|
||||
# /dev/input/*, chmod /tmp/selkies*, /dev/dri perms) that is only partially permitted in the
|
||||
# HA add-on sandbox. A non-zero exit from a oneshot fails add-on bringup and crash-loops the
|
||||
# container, so make these two tolerant and always report success. Longruns (svc-*) are left
|
||||
# untouched so s6 keeps supervising them with their real exit codes.
|
||||
for oneshot in init-video init-selkies-config; do
|
||||
run="/etc/s6-overlay/s6-rc.d/$oneshot/run"
|
||||
if [ -f "$run" ] && ! grep -q '^set +e$' "$run"; then
|
||||
sed -i "1a set +e" "$run"
|
||||
printf '\nexit 0\n' >> "$run"
|
||||
fi
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user