kopia lustrzana https://github.com/cyoung/stratux
Add /etc/modprobe.d/rtl-sdr-blacklist.conf to mkimg and makeupdate.
rodzic
5c6e493fca
commit
6a9f1ff8e6
|
@ -65,9 +65,8 @@ cp -rf /root/go mnt/root/
|
|||
##echo export GOPATH=/root/go_path >>mnt/root/.bashrc
|
||||
|
||||
#rtl-sdr setup
|
||||
##echo blacklist dvb_usb_rtl28xxu >>mnt/etc/modprobe.d/rtl-sdr-blacklist.conf
|
||||
##echo blacklist e4000 >>mnt/etc/modprobe.d/rtl-sdr-blacklist.conf
|
||||
##echo blacklist rtl2832 >>mnt/etc/modprobe.d/rtl-sdr-blacklist.conf
|
||||
cp -f rtl-sdr-blacklist.conf mnt/etc/modprobe.d/
|
||||
|
||||
chroot mnt/ apt-get install -y git cmake libusb-1.0-0.dev build-essential
|
||||
rm -rf mnt/root/librtlsdr
|
||||
git clone https://github.com/jpoirier/librtlsdr mnt/root/librtlsdr
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
blacklist dvb_usb_rtl28xxu
|
||||
blacklist e4000
|
||||
blacklist rtl2832
|
|
@ -23,6 +23,8 @@ cp dump1090/dump1090 work/bin/
|
|||
cp -r web work/bin/
|
||||
cp image/hostapd.conf work/bin/
|
||||
cp image/config.txt work/bin/
|
||||
cp image/rtl-sdr-blacklist.conf work/bin/
|
||||
|
||||
#TODO: librtlsdr.
|
||||
cd work/
|
||||
cat ../selfupdate/update_header.sh >update.sh
|
||||
|
|
|
@ -15,6 +15,9 @@ cp -f hostapd.conf /etc/hostapd/hostapd.conf
|
|||
#boot config
|
||||
cp -f config.txt /boot/config.txt
|
||||
|
||||
#modprobe.d blacklist
|
||||
cp -f rtl-sdr-blacklist.conf /etc/modprobe.d/
|
||||
|
||||
cp -f dump1090 /usr/bin/
|
||||
|
||||
# Web files install.
|
||||
|
|
Ładowanie…
Reference in New Issue