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