kopia lustrzana https://github.com/km4ack/pi-build
Porównaj commity
2 Commity
3d98f8fd3f
...
58d03b66ae
Autor | SHA1 | Data |
---|---|---|
KM4ACK | 58d03b66ae | |
KM4ACK | 6b814e12fd |
|
@ -1,7 +1,11 @@
|
|||
version=3.3.0
|
||||
|
||||
3.3.0 Add VARA modem - https://github.com/km4ack/pi-build/issues/394
|
||||
|
||||
fix conky 7 inch config - https://github.com/km4ack/pi-build/issues/414
|
||||
fix old ardop modem not removed - https://github.com/km4ack/pi-build/issues/413
|
||||
create VARA sub category - https://github.com/km4ack/pi-build/issues/393
|
||||
update chirp install - https://github.com/km4ack/pi-build/issues/337
|
||||
use 64bit package to install pat on 64bit OS - https://github.com/km4ack/pi-build/issues/424
|
||||
3.2.4 Update HotSpot Tools shortcut
|
||||
Change 1000 to UID in update script
|
||||
Remove Pi username check
|
||||
|
|
|
@ -26,34 +26,16 @@ PAT() {
|
|||
fi
|
||||
|
||||
if [ `getconf LONG_BIT` = '64' ]; then
|
||||
#install deb file for 64 bit systems
|
||||
NEWPATV=$(curl -s https://github.com/la5nta/pat/releases | grep arm64 | head -1 | sed 's/.*pat_/pat_/' | sed 's/<\/a>.*$//')
|
||||
NEWPAT=$(echo ${NEWPATV} | sed 's/pat_//' | sed 's/_linux_arm64.deb//' | sed 's/0\.//')
|
||||
echo "new pat v ${NEWPATV}"
|
||||
echo "new pat ${NEWPAT}"
|
||||
wget --tries 2 --connect-timeout=60 https://github.com/la5nta/pat/releases/download/v0.${NEWPAT}/${NEWPATV}
|
||||
sudo dpkg -i ${DIR}/${NEWPATV}
|
||||
|
||||
#reference:
|
||||
#https://www.jeremymorgan.com/tutorials/raspberry-pi/install-go-raspberry-pi/
|
||||
#https://github.com/la5nta/pat/wiki/Building-from-source
|
||||
#https://cqdeks4td.blogspot.com/2021/11/installing-pat-open-source-winlink.html
|
||||
|
||||
#install golang needed for pat build
|
||||
cd
|
||||
wget https://go.dev/dl/go1.17.7.linux-arm64.tar.gz
|
||||
sudo tar -C /usr/local -xzf go1.17.7.linux-arm64.tar.gz
|
||||
rm go1.17.7.linux-arm64.tar.gz
|
||||
|
||||
echo "PATH=$PATH:/usr/local/go/bin" >> $HOME/.profile
|
||||
echo "GOPATH=$HOME/go" >> $HOME/.profile
|
||||
|
||||
source $HOME/.profile
|
||||
|
||||
#download/build latest pat
|
||||
cd
|
||||
git clone https://github.com/la5nta/pat
|
||||
cd pat
|
||||
./make.bash libax25
|
||||
./make.bash
|
||||
|
||||
sudo cp $HOME/pat/debian/pat@.service /lib/systemd/system/
|
||||
sudo cp $HOME/pat/pat /usr/bin/
|
||||
rm -rf $HOME/pat
|
||||
else
|
||||
|
||||
#install deb file for 32 bit systems
|
||||
NEWPATV=$(curl -s https://github.com/la5nta/pat/releases | grep armhf | head -1 | sed 's/.*pat_/pat_/' | sed 's/<\/a>.*$//')
|
||||
NEWPAT=$(echo ${NEWPATV} | sed 's/pat_//' | sed 's/_linux_armhf.deb//' | sed 's/0\.//')
|
||||
|
@ -100,6 +82,36 @@ PAT() {
|
|||
mv ${DIR}/config.json ${HOME}/.wl2k/
|
||||
fi
|
||||
|
||||
PAT_OLD_SOURCE_INSTALL() {
|
||||
#This code is left for reference. This was used ot build pat from source when 64bit Pi OS was first released. 20220922
|
||||
#reference:
|
||||
#https://www.jeremymorgan.com/tutorials/raspberry-pi/install-go-raspberry-pi/
|
||||
#https://github.com/la5nta/pat/wiki/Building-from-source
|
||||
#https://cqdeks4td.blogspot.com/2021/11/installing-pat-open-source-winlink.html
|
||||
|
||||
#install golang needed for pat build
|
||||
cd
|
||||
wget https://go.dev/dl/go1.17.7.linux-arm64.tar.gz
|
||||
sudo tar -C /usr/local -xzf go1.17.7.linux-arm64.tar.gz
|
||||
rm go1.17.7.linux-arm64.tar.gz
|
||||
|
||||
echo "PATH=$PATH:/usr/local/go/bin" >> $HOME/.profile
|
||||
echo "GOPATH=$HOME/go" >> $HOME/.profile
|
||||
|
||||
source $HOME/.profile
|
||||
|
||||
#download/build latest pat
|
||||
cd
|
||||
git clone https://github.com/la5nta/pat
|
||||
cd pat
|
||||
./make.bash libax25
|
||||
./make.bash
|
||||
|
||||
sudo cp $HOME/pat/debian/pat@.service /lib/systemd/system/
|
||||
sudo cp $HOME/pat/pat /usr/bin/
|
||||
rm -rf $HOME/pat
|
||||
}
|
||||
|
||||
}
|
||||
##################################
|
||||
# PAT MENU
|
||||
|
|
Ładowanie…
Reference in New Issue