From d5b5fc379875ad72595dbefce96e554c66a7272a Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Tue, 22 Jan 2019 18:27:25 +0000 Subject: [PATCH] fix the arch command --- docker/scripts/install-lib.armv7l.patch | 30 +++++++++++++------------ 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/docker/scripts/install-lib.armv7l.patch b/docker/scripts/install-lib.armv7l.patch index 39d99d1..0306c2b 100644 --- a/docker/scripts/install-lib.armv7l.patch +++ b/docker/scripts/install-lib.armv7l.patch @@ -1,6 +1,6 @@ ---- sdrplay/install_lib.sh 2018-06-21 20:47:08.000000000 +0200 -+++ sdrplay/install_lib_patched.sh 2019-01-22 17:35:57.761927708 +0100 -@@ -3,18 +3,6 @@ +--- sdrplay/install_lib.sh ++++ sdrplay/install_lib_patched.sh +@@ -3,19 +3,7 @@ echo "Installing SDRplay RSP API library 2.13..." @@ -16,13 +16,18 @@ - esac -done - - export ARCH=`arch` +-export ARCH=`arch` ++export ARCH=`uname -m` export VERS="2.13" -@@ -63,16 +51,6 @@ - echo " " - exit 1 - fi + echo "Architecture: ${ARCH}" +@@ -60,16 +48,6 @@ + echo "ERROR: udev rules directory not found, add udev support and run the" + echo "installer again. udev support can be added by running..." + echo "sudo apt-get install libudev-dev" +- echo " " +- exit 1 +-fi - -if /sbin/ldconfig -p | /bin/fgrep -q libusb-1.0; then - echo "Libusb found, continuing..." @@ -30,9 +35,6 @@ - echo " " - echo "ERROR: Libusb cannot be found. Please install libusb and then run" - echo "the installer again. Libusb can be installed from http://libusb.info" -- echo " " -- exit 1 --fi - - sudo ldconfig - + echo " " + exit 1 + fi