From 2b8ff9b416fc9d0267a5d47810beab930acdcc1c Mon Sep 17 00:00:00 2001 From: Adrian Batzill Date: Wed, 26 Jun 2019 20:10:33 +0200 Subject: [PATCH] first beta for buster image done --- image/mk_europe_edition_buster.sh | 6 ++++++ image/mk_europe_edition_device_setup_buster.sh | 13 +++++++++++-- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/image/mk_europe_edition_buster.sh b/image/mk_europe_edition_buster.sh index 4132ba4c..3e88512c 100755 --- a/image/mk_europe_edition_buster.sh +++ b/image/mk_europe_edition_buster.sh @@ -70,6 +70,12 @@ if [ "$1" == "dev" ]; then cp -ra $SRCDIR . else git clone --recursive https://github.com/b3nn0/stratux.git + # TODO: remove me + cd stratux + git checkout bplustesting + git submodule sync + git submodule update --remote dump1090 + cd .. fi cd ../.. diff --git a/image/mk_europe_edition_device_setup_buster.sh b/image/mk_europe_edition_device_setup_buster.sh index 3179d46e..ef639614 100755 --- a/image/mk_europe_edition_device_setup_buster.sh +++ b/image/mk_europe_edition_device_setup_buster.sh @@ -25,8 +25,8 @@ PATH=/root/fake:$PATH apt dist-upgrade --yes apt clean PATH=/root/fake:$PATH apt install --yes libjpeg8-dev libconfig9 rpi-update hostapd isc-dhcp-server tcpdump git cmake \ - libusb-1.0-0-dev build-essential mercurial build-essential autoconf libfftw3-dev libtool i2c-tools python-smbus \ - python-pip python-dev python-pil python-daemon screen libsdl1.2-dev libsdl2-dev wiringpi + libusb-1.0-0-dev build-essential mercurial build-essential autoconf libtool i2c-tools python-smbus \ + python-pip python-dev python-pil python-daemon screen wiringpi apt clean #echo y | rpi-update @@ -48,6 +48,15 @@ rm -r /root/fake rm /etc/modprobe.d/blacklist-rtl8192cu.conf echo "blacklist 8192cu" >> /etc/modprobe.d/blacklist-8192cu.conf +# The current libfftw loads extremely slow, causing ogn-rf to take around 2-3 minutes to start up. +# Revert to older version for now.. +wget http://ftp.debian.org/debian/pool/main/f/fftw3/libfftw3-bin_3.3.5-3_armhf.deb +wget http://ftp.debian.org/debian/pool/main/f/fftw3/libfftw3-dev_3.3.5-3_armhf.deb +wget http://ftp.debian.org/debian/pool/main/f/fftw3/libfftw3-double3_3.3.5-3_armhf.deb +wget http://ftp.debian.org/debian/pool/main/f/fftw3/libfftw3-single3_3.3.5-3_armhf.deb +dpkg -i libfftw*.deb +rm libfftw*.deb + # Prepare wiringpi for fancontrol and some more tools #cd /root && git clone https://github.com/WiringPi/WiringPi.git && cd WiringPi/wiringPi && make && make install