Skip to content

Commit

Permalink
updates: librtlsdr fork, tsOS-Base, pyrtlsdr
Browse files Browse the repository at this point in the history
  • Loading branch information
jonashoechst committed Sep 26, 2024
1 parent 166d296 commit f637eb4
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 13 deletions.
9 changes: 6 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[submodule "pimod"]
path = pimod
url = https://github.com/Nature40/pimod.git
[submodule "home/pi/pyradiotracking"]
path = home/pi/pyradiotracking
url = https://github.com/tRackIT-Systems/pyradiotracking.git
Expand All @@ -13,3 +10,9 @@
[submodule "home/pi/snd-i2s_rpi"]
path = home/pi/snd-i2s_rpi
url = https://github.com/tRackIT-Systems/snd-i2s_rpi.git
[submodule "home/pi/librtlsdr"]
path = home/pi/librtlsdr
url = https://github.com/librtlsdr/librtlsdr.git
[submodule "home/pi/pyrtlsdr"]
path = home/pi/pyrtlsdr
url = https://github.com/pyrtlsdr/pyrtlsdr.git
8 changes: 3 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
services:
pimod:
build: ./pimod
image: nature40/pimod:v0.6.1
privileged: true
tty: true
volumes:
- .:/sensorboxes
- ./pimod:/pimod
working_dir: /sensorboxes
- .:/tRackIT-OS
working_dir: /tRackIT-OS
environment:
- PATH:'$PATH:/pimod'
- IMG
1 change: 1 addition & 0 deletions home/pi/librtlsdr
Submodule librtlsdr added at cd36c2
1 change: 1 addition & 0 deletions home/pi/pyrtlsdr
Submodule pyrtlsdr added at 045069
1 change: 0 additions & 1 deletion pimod
Submodule pimod deleted from 4de428
20 changes: 17 additions & 3 deletions tRackIT-OS.Pifile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Set default ARCH
: ${ARCH:=arm64}

FROM "https://github.com/tRackIT-Systems/tsOS-Base/releases/download/2024.07.2/tsOS-Base-${ARCH}-2024.07.2.zip"
FROM "https://github.com/tRackIT-Systems/tsOS-Base/releases/download/2024.09.2/tsOS-Base-${ARCH}-2024.09.2.zip"
TO "tRackIT-OS-${ARCH}.img"
PUMP 300M
PUMP 400M

# Set os-release info
NAME="tRackIT-OS"
Expand Down Expand Up @@ -39,8 +39,19 @@ RUN chown -R pi:pi /home/pi/
# Blacklist DVB-T driver
RUN tee -a /etc/modprobe.d/raspi-blacklist.conf <<<'blacklist dvb_usb_rtl28xxu'

# Install rtlsdr build dependencies
RUN apt update
RUN apt-get install -y build-essential cmake

WORKDIR /home/pi/librtlsdr
RUN cmake . -DINSTALL_UDEV_RULES=ON
RUN make -j4
RUN make install
RUN ldconfig

RUN python3 -m pip install --break-system-packages -e /home/pi/pyrtlsdr

# Install radiotracking dependencies
RUN apt-get install -y librtlsdr-dev
RUN python3 -m pip install --break-system-packages dash

# Install radiotracking
Expand All @@ -52,3 +63,6 @@ RUN tee -a /etc/sysdweb.conf <<EOF
title = RadioTracking | VHF Signal Detection
unit = radiotracking
EOF

# Disable swap
RUN systemctl disable dphys-swapfile.service

0 comments on commit f637eb4

Please sign in to comment.