mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-10-28 08:41:44 +00:00
fix(letta_code): start from / so services don't inherit a deleted cwd (#3147)
Upstream sets WORKDIR /workspace; 20-config_location.sh removes that directory and replaces it with a symlink to /config/workspace, leaving the entrypoint and every s6 service with a deleted working directory (getcwd: cannot access parent directories). Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
1cde9d866b
commit
30a86b8934
3 files changed
+9
-1
No files matched your search
@@ -1,3 +1,7 @@
|
||||
## 0.34.21.1 (24-10-2026)
|
||||
|
||||
- Fix `getcwd: cannot access parent directories` at startup: the image now starts from `/` instead of upstream's `/workspace`, which is replaced by a symlink to `/config/workspace` during init
|
||||
|
||||
## 0.34.21 (2026-10-24)
|
||||
|
||||
- Update to latest version from letta-ai/letta-code (changelog: <https://github.com/letta-ai/letta-code/releases>)
|
||||
|
||||
@@ -25,6 +25,10 @@ FROM ghcr.io/letta-ai/letta-code:${BUILD_UPSTREAM}
|
||||
|
||||
USER root
|
||||
|
||||
# Upstream sets WORKDIR /workspace, which 20-config_location.sh replaces with a
|
||||
# symlink to /config/workspace; start from / so services do not inherit a deleted cwd
|
||||
WORKDIR /
|
||||
|
||||
##################
|
||||
# 3 Install apps #
|
||||
##################
|
||||
|
||||
@@ -27,4 +27,4 @@ schema:
|
||||
token: password?
|
||||
slug: letta_code
|
||||
url: https://github.com/alexbelgium/hassio-addons/tree/master/letta_code
|
||||
version: "0.34.21"
|
||||
version: "0.34.21.1"
|
||||
Reference in new issue
Block a user