mirror of
https://github.com/home-assistant/supervisor.git
synced 2026-02-14 23:19:37 +00:00
Append devlinks to serial dev_list (#1131)
* append devlinks to dev_list * replace eudev-libs with eudev * include only devlinks starting with /dev/serial/by-id * add missing package, move udev init to entry.sh * fix mode on entry.sh * Update homeassistant.py * Update homeassistant.py
This commit is contained in:
@@ -12,6 +12,7 @@ RUN apk add --no-cache \
|
||||
socat \
|
||||
glib \
|
||||
libstdc++ \
|
||||
eudev \
|
||||
eudev-libs
|
||||
|
||||
# Install requirements
|
||||
@@ -25,4 +26,8 @@ RUN export MAKEFLAGS="-j$(nproc)" \
|
||||
COPY . /usr/src/hassio
|
||||
RUN pip3 install --no-cache-dir -e /usr/src/hassio
|
||||
|
||||
# Initialize udev daemon, handle CMD
|
||||
COPY entry.sh /bin/
|
||||
ENTRYPOINT ["/bin/entry.sh"]
|
||||
|
||||
CMD [ "python3", "-m", "hassio" ]
|
||||
|
||||
Reference in New Issue
Block a user