Skip to content

Commit f00fc98

Browse files
committed
add 32 bit check for vara
1 parent e80167a commit f00fc98

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

build-a-pi

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ yad --center --list --checklist --width=600 --height=600 --separator="" \
239239
false "GPSUPDATE" "Tool to Manage GPS Devices" \
240240
false "ARDOP" "Modem for HF" \
241241
false "ARDOPGUI" "GUI for ARDOP" \
242-
false "VARA" "VARA Modem" \
242+
false "VARA" "VARA Modem - <b>Pi 4 32bit ONLY</b>" \
243243
false "HAMLIB" "Needed for Rig Control" \
244244
false "DIREWOLF" "Software TNC" \
245245
false "AX25" "Data Link Layer Protocol" \
@@ -259,7 +259,7 @@ if [ ${BUT} = 3 ]; then
259259
done
260260
fi
261261

262-
#If vARA is chosen, make sure we have a Pi 4 to work with.
262+
#If vARA is chosen, make sure we have a Pi 4 32 bit system to work with.
263263
#As of 02OCT2022 the VARA installer only works with the Pi 4.
264264
VARA_CHK=$(grep VARA ${BASE})
265265
if [ -n $VARA_CHK ]; then
@@ -272,6 +272,16 @@ if [ -n $VARA_CHK ]; then
272272
--button=gtk-ok
273273
sed -i 's/VARA//;/^$/d' ${BASE}
274274
fi
275+
276+
#check if 32 bit system
277+
if [ `getconf LONG_BIT` != 32 ]; then
278+
yad --form --width=500 --text-align=center --center --title="Build-a-Pi" --text-align=center \
279+
--image ${LOGO} --window-icon=${LOGO} --image-on-top --separator="|" --item-separator="|" \
280+
--text="<b>Not Compatible</b>\rAt this time VARA is not compatible with 64bit OS. The devolper is working \
281+
to resolve this issue.\r\rVARA will not be installed during the build." \
282+
--button=gtk-ok
283+
sed -i 's/VARA//;/^$/d' ${BASE}
284+
fi
275285
fi
276286

277287
#check if hotspot is chosen for install & get info if needed

0 commit comments

Comments
 (0)