Browse Source

ignore apt packages for dump1090

pull/64/head
Luigi Cruz 3 years ago
committed by GitHub
parent
commit
d5ded70e7f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      stage4/32-pisdr-dump1090/00-run.sh

+ 3
- 3
stage4/32-pisdr-dump1090/00-run.sh View File

@@ -32,14 +32,14 @@ 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


export DEB_BUILD_OPTIONS=noddebs export DEB_BUILD_OPTIONS=noddebs
if ! dpkg-buildpackage -b -Prtlsdr -ui -uc -us
if ! dpkg-buildpackage --ignore-builtin-builddeps -b -Prtlsdr -ui -uc -us
then then
echo "Something went wrong building the debian package, exiting!" echo "Something went wrong building the debian package, exiting!"
exit 1 exit 1
fi fi


echo "Installing the Package" echo "Installing the Package"
if ! dpkg -i ../readsb_*.deb
if ! dpkg --force-all -i ../readsb_*.deb
then then
echo "Something went wrong installing the debian package, exiting!" echo "Something went wrong installing the debian package, exiting!"
exit 1 exit 1
@@ -54,4 +54,4 @@ systemctl disable --now readsb || true
systemctl disable --now tar1090 || true systemctl disable --now tar1090 || true
systemctl disable --now lighttpd || true systemctl disable --now lighttpd || true


EOF
EOF

Loading…
Cancel
Save