From 2ed2871d8da6ce3003fa734ef963c1a07e6eff4a Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 20 Mar 2025 15:34:22 +0100 Subject: [PATCH] Add timedatectl --- battybirdnet-pi/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/battybirdnet-pi/Dockerfile b/battybirdnet-pi/Dockerfile index a643b7123..ebd9d25e0 100644 --- a/battybirdnet-pi/Dockerfile +++ b/battybirdnet-pi/Dockerfile @@ -44,6 +44,10 @@ RUN \ curl -f -L -s -S https://raw.githubusercontent.com/gdraheim/docker-systemctl-replacement/master/files/docker/systemctl3.py -o /bin/systemctl && \ chmod a+x /bin/systemctl && \ \ + # Correct for timedatectl + curl -f -L -s -S https://raw.githubusercontent.com/alexbelgium/hassio-addons/refs/heads/master/birdnet-pi/rootfs/helpers/timedatectl -o /bin/timedatectl && \ + chmod a+x /bin/timedatectl && \ + \ # Change user to pi and create /home/pi echo "setting users" && \ if id abc >/dev/null 2>&1; then groupmod -o -g 101 abc && usermod -o -u 101 abc; fi && \