From fd56b51331398bf43d39fa7220e802eaf31e12b6 Mon Sep 17 00:00:00 2001 From: Luigi Cruz Date: Sun, 16 Aug 2020 19:22:33 -0300 Subject: [PATCH] Update uhd udev rules. --- builder/stage4/05-pisdr-uhd/00-run.sh | 1 + builder/stage4/26-pisdr-udev/00-run.sh | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/stage4/05-pisdr-uhd/00-run.sh b/builder/stage4/05-pisdr-uhd/00-run.sh index fb60146..ad5feb3 100755 --- a/builder/stage4/05-pisdr-uhd/00-run.sh +++ b/builder/stage4/05-pisdr-uhd/00-run.sh @@ -17,6 +17,7 @@ cmake -DCMAKE_CXX_FLAGS:STRING="-march=armv7-a -mfloat-abi=hard -mfpu=neon -mtun -DCMAKE_ASM_FLAGS:STRING="-march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a15" \ -GNinja -DCMAKE_BUILD_TYPE=Release ../ ninja install +cp /usr/local/lib/uhd/utils/uhd-usrp.rules /etc/udev/rules.d/ ldconfig uhd_images_downloader EOF \ No newline at end of file diff --git a/builder/stage4/26-pisdr-udev/00-run.sh b/builder/stage4/26-pisdr-udev/00-run.sh index c5862b6..9d6f84f 100755 --- a/builder/stage4/26-pisdr-udev/00-run.sh +++ b/builder/stage4/26-pisdr-udev/00-run.sh @@ -6,7 +6,6 @@ chown pi:pi /etc/udev/rules.d/52-airspyhf.rules chown pi:pi /etc/udev/rules.d/rtl-sdr.rules chown pi:pi /lib/udev/rules.d/90-libiio.rules chown pi:pi /etc/udev/rules.d/53-hackrf.rules -chown pi:pi /usr/local/lib/uhd/utils/uhd-usrp.rules chown pi:pi /etc/udev/rules.d/uhd-usrp.rules udevadm control --reload-rules udevadm trigger