diff --git a/BatRack.Pifile b/BatRack.Pifile index 04e2e3e..6ad40d7 100644 --- a/BatRack.Pifile +++ b/BatRack.Pifile @@ -11,6 +11,9 @@ INSTALL var /var # Fix permissions for pi user RUN chown -R pi:pi /home/pi/ +# Mount boot writable for users +RUN sed -i 's/\(boot.*vfat.*defaults\)/\1,user,umask=000/g' /etc/fstab + ################################################# ### basic configuration @@ -69,6 +72,9 @@ RUN systemctl enable hostname-config.service # Enabling wait for time-sync.target (depending services will not start before the clock is synced) RUN systemctl enable systemd-time-wait-sync.service +# Reboot on kernel panic +RUN bash -c "echo kernel.panic=10 | tee -a /etc/sysctl.conf" + ################################################# ### network configuration @@ -160,7 +166,12 @@ title = RadioTracking unit = radiotracking EOF -### BatRack specific +################################################# +### BatRack configuration + +# update sources für RPI_Cam_Web installer +RUN apt-get update + # Enable camera interaction RUN raspi-config nonint do_camera 0 @@ -205,7 +216,7 @@ EOF RUN apt-get install -y python3-numpy python3-pyaudio RUN python3 -m pip install -e /home/pi/BatRack -# Enable BatRecorder +# Enable BatRack RUN systemctl enable BatRack.service RUN tee -a /etc/sysdweb.conf <