Skip to content

Commit d4bbef9

Browse files
committed
feat(home-assistant): patch dbus_fast to allow rootless bluetooth
Refs: https://blog.troed.se/posts/bluetooth-and-home-assistant-in-rootless-docker/
1 parent 7ff8377 commit d4bbef9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

apps/home-assistant/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ RUN \
9696
&& apk del --purge .build-deps \
9797
&& rm -rf /root/.cache /root/.cargo /tmp/*
9898

99+
RUN /bin/sed -i '/self\.negotiate_unix_fd = negotiate_unix_fd/a \ self.uid = UID_NOT_SPECIFIED' /usr/local/lib/python3.13/site-packages/dbus_fast/auth.py
100+
99101
COPY . /
100102

101103
USER nobody:nogroup

0 commit comments

Comments
 (0)