|
@@ -9,22 +9,22 @@ install -v -o 1000 -g 1000 -m 755 targets/configure_fr24feed.sh "${ROOTFS_DIR}/h |
|
|
on_chroot << EOF |
|
|
on_chroot << EOF |
|
|
cd "/home/${FIRST_USER_NAME}/PiSDR/Software/dump1090" |
|
|
cd "/home/${FIRST_USER_NAME}/PiSDR/Software/dump1090" |
|
|
|
|
|
|
|
|
repository="https://github.com/wiedehopf/readsb.git" |
|
|
|
|
|
|
|
|
mkdir -p /usr/local/share/adsb-wiki/readsb-install |
|
|
|
|
|
|
|
|
apt-get update |
|
|
apt-get update |
|
|
apt-get install --no-install-recommends --no-install-suggests -y git build-essential debhelper libusb-1.0-0-dev \ |
|
|
apt-get install --no-install-recommends --no-install-suggests -y git build-essential debhelper libusb-1.0-0-dev \ |
|
|
pkg-config dh-systemd libncurses5-dev lighttpd zlib1g-dev zlib1g unzip |
|
|
pkg-config dh-systemd libncurses5-dev lighttpd zlib1g-dev zlib1g unzip |
|
|
|
|
|
|
|
|
rm -rf "$ipath"/git |
|
|
|
|
|
if ! git clone --branch stale --depth 1 "$repository" "$ipath/git" |
|
|
|
|
|
|
|
|
rm -rf /usr/local/share/adsb-wiki/readsb-install/git |
|
|
|
|
|
if ! git clone --branch stale --depth 1 https://github.com/wiedehopf/readsb.git "$ipath/git" |
|
|
then |
|
|
then |
|
|
echo "Unable to git clone the repository" |
|
|
echo "Unable to git clone the repository" |
|
|
exit 1 |
|
|
exit 1 |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
rm -rf "$ipath"/readsb*.deb |
|
|
|
|
|
|
|
|
rm -rf /usr/local/share/adsb-wiki/readsb-install/readsb*.deb |
|
|
|
|
|
|
|
|
cd "$ipath/git" |
|
|
|
|
|
|
|
|
cd /usr/local/share/adsb-wiki/readsb-install/git |
|
|
|
|
|
|
|
|
sed -i 's/librtlsdr0, librtlsdr-dev, //g' debian/control |
|
|
sed -i 's/librtlsdr0, librtlsdr-dev, //g' debian/control |
|
|
|
|
|
|
|
@@ -103,7 +103,7 @@ EOF |
|
|
chmod a+x /usr/local/bin/readsb-set-location |
|
|
chmod a+x /usr/local/bin/readsb-set-location |
|
|
|
|
|
|
|
|
echo -------------- |
|
|
echo -------------- |
|
|
cd "$ipath" |
|
|
|
|
|
|
|
|
cd /usr/local/share/adsb-wiki/readsb-install |
|
|
|
|
|
|
|
|
wget -O tar1090-install.sh https://raw.githubusercontent.com/wiedehopf/tar1090/master/install.sh |
|
|
wget -O tar1090-install.sh https://raw.githubusercontent.com/wiedehopf/tar1090/master/install.sh |
|
|
bash tar1090-install.sh /run/readsb |
|
|
bash tar1090-install.sh /run/readsb |
|
|