Porównaj commity

...

2 Commity

Autor SHA1 Wiadomość Data
KM4ACK 1f87d9fbcb add 32 bit check for vara 2022-10-07 07:47:46 -05:00
KM4ACK f00fc98dee add 32 bit check for vara 2022-10-07 07:47:32 -05:00
2 zmienionych plików z 24 dodań i 3 usunięć

Wyświetl plik

@ -239,7 +239,7 @@ yad --center --list --checklist --width=600 --height=600 --separator="" \
false "GPSUPDATE" "Tool to Manage GPS Devices" \
false "ARDOP" "Modem for HF" \
false "ARDOPGUI" "GUI for ARDOP" \
false "VARA" "VARA Modem" \
false "VARA" "VARA Modem - <b>Pi 4 32bit ONLY</b>" \
false "HAMLIB" "Needed for Rig Control" \
false "DIREWOLF" "Software TNC" \
false "AX25" "Data Link Layer Protocol" \
@ -259,7 +259,7 @@ if [ ${BUT} = 3 ]; then
done
fi
#If vARA is chosen, make sure we have a Pi 4 to work with.
#If vARA is chosen, make sure we have a Pi 4 32 bit system to work with.
#As of 02OCT2022 the VARA installer only works with the Pi 4.
VARA_CHK=$(grep VARA ${BASE})
if [ -n $VARA_CHK ]; then
@ -272,6 +272,16 @@ if [ -n $VARA_CHK ]; then
--button=gtk-ok
sed -i 's/VARA//;/^$/d' ${BASE}
fi
#check if 32 bit system
if [ `getconf LONG_BIT` != 32 ]; then
yad --form --width=500 --text-align=center --center --title="Build-a-Pi" --text-align=center \
--image ${LOGO} --window-icon=${LOGO} --image-on-top --separator="|" --item-separator="|" \
--text="<b>Not Compatible</b>\rAt this time VARA is not compatible with 64bit OS. The devolper is working \
to resolve this issue.\r\rVARA will not be installed during the build." \
--button=gtk-ok
sed -i 's/VARA//;/^$/d' ${BASE}
fi
fi
#check if hotspot is chosen for install & get info if needed

13
update
Wyświetl plik

@ -306,7 +306,7 @@ yad --center --list --checklist --width=600 --height=600 --separator="" \
false "GPSUPDATE" "${GPSUPDATE}" "Tool to Manage GPS Devices" \
false "ARDOP" "$ARDOP" "Mode for HF" \
false "ARDOPGUI" "$ARDOPGUI" "GUI for ARDOP" \
false "VARA" "$VARA" "VARA Modem" \
false "VARA" "$VARA" "VARA Modem - <b>Pi 4 32bit ONLY</b>" \
false "DIREWOLF" "$DIRE" "Software TNC" \
false "AX25" "$AX25" "Data Link Layer Protocol" \
false "PULSE" "$PULSE" "Sound server" \
@ -330,6 +330,17 @@ if [ -n $VARA_CHK ]; then
--button=gtk-ok
sed -i 's/VARA//;/^$/d' ${BASE}
fi
#check if 32 bit system
if [ `getconf LONG_BIT` != 32 ]; then
yad --form --width=500 --text-align=center --center --title="Build-a-Pi" --text-align=center \
--image ${LOGO} --window-icon=${LOGO} --image-on-top --separator="|" --item-separator="|" \
--text="<b>Not Compatible</b>\rAt this time VARA is not compatible with 64bit OS. The devolper is working \
to resolve this issue.\r\rVARA will not be installed during the build." \
--button=gtk-ok
sed -i 's/VARA//;/^$/d' ${BASE}
fi
fi
#############################################################