From 10ef36d792500dc5e74a64dd471d876d1df43805 Mon Sep 17 00:00:00 2001 From: Christian Haeusler <794584+corvus-ch@users.noreply.github.com> Date: Sun, 15 Feb 2026 15:58:48 +0100 Subject: [PATCH 1/4] Add add-on install script for VarAC --- .../skel/add-ons/wine/03-install-vara-fm.sh | 3 ++- .../etc/skel/add-ons/wine/04-install-varac.sh | 7 ++++++ .../{04-run-regedit.sh => 05-run-regedit.sh} | 0 ...e-install.sh => 06-backup-wine-install.sh} | 0 overlay/etc/skel/add-ons/wine/README.md | 24 +++++++++++-------- 5 files changed, 23 insertions(+), 11 deletions(-) create mode 100755 overlay/etc/skel/add-ons/wine/04-install-varac.sh rename overlay/etc/skel/add-ons/wine/{04-run-regedit.sh => 05-run-regedit.sh} (100%) rename overlay/etc/skel/add-ons/wine/{05-backup-wine-install.sh => 06-backup-wine-install.sh} (100%) diff --git a/overlay/etc/skel/add-ons/wine/03-install-vara-fm.sh b/overlay/etc/skel/add-ons/wine/03-install-vara-fm.sh index f94a7e3..a7ff171 100755 --- a/overlay/etc/skel/add-ons/wine/03-install-vara-fm.sh +++ b/overlay/etc/skel/add-ons/wine/03-install-vara-fm.sh @@ -30,4 +30,5 @@ if [ ! -e "${VARA_HOME}/nt4pdhdll.exe" ]; then cd ${CWD} fi -echo -e "${YELLOW}Run ${WHITE}./04-run-regedit.sh${YELLOW} to run registry editor.${NC}" +echo -e "${YELLOW}OPTIONAL: run ${WHITE}./04-install-varac.sh${YELLOW} to install VarAC.${NC}" +echo -e "${YELLOW}Or run ${WHITE}./05-run-regedit.sh${YELLOW} to run registry editor.${NC}" diff --git a/overlay/etc/skel/add-ons/wine/04-install-varac.sh b/overlay/etc/skel/add-ons/wine/04-install-varac.sh new file mode 100755 index 0000000..0e74358 --- /dev/null +++ b/overlay/etc/skel/add-ons/wine/04-install-varac.sh @@ -0,0 +1,7 @@ +#!/bin/bash +# +# Purpose : Install VarAC + +# TODO + +echo -e "${YELLOW}Run ${WHITE}./05-run-regedit.sh${YELLOW} to run registry editor.${NC}" diff --git a/overlay/etc/skel/add-ons/wine/04-run-regedit.sh b/overlay/etc/skel/add-ons/wine/05-run-regedit.sh similarity index 100% rename from overlay/etc/skel/add-ons/wine/04-run-regedit.sh rename to overlay/etc/skel/add-ons/wine/05-run-regedit.sh diff --git a/overlay/etc/skel/add-ons/wine/05-backup-wine-install.sh b/overlay/etc/skel/add-ons/wine/06-backup-wine-install.sh similarity index 100% rename from overlay/etc/skel/add-ons/wine/05-backup-wine-install.sh rename to overlay/etc/skel/add-ons/wine/06-backup-wine-install.sh diff --git a/overlay/etc/skel/add-ons/wine/README.md b/overlay/etc/skel/add-ons/wine/README.md index 7c20086..4c2e185 100644 --- a/overlay/etc/skel/add-ons/wine/README.md +++ b/overlay/etc/skel/add-ons/wine/README.md @@ -17,17 +17,21 @@ in this directory as your normal user (do not use 'sudo'). ./03-install-vara-fm.sh -4. Run the registry editor. Follow the instructions in the terminal. In +4. OPTIONAL: Install VarAC. + + ./04-install-varac.sh + +5. Run the registry editor. Follow the instructions in the terminal. In this step we will need to map COM port 10 (COM10) to the EmComm Tools CAT control device (/dev/et-cat). - ./04-run-regedit.sh + ./05-run-regedit.sh -5. If you want to include your WINE installation in a future EmComm Tools +6. If you want to include your WINE installation in a future EmComm Tools Community image build, run the following to make a backup of your WINE installation now. - ./05-backup-wine-install.sh + ./06-backup-wine-install.sh It is important that you do not run any of the VARA programs until after the backup is run in step 5. @@ -44,12 +48,12 @@ perform the following in Cubic after the main install script is finished. 3. Unpack the backup file. This will create `/etc/skel/.wine32`. -``` -tar -xzf etc-wine-backup-* -``` + ``` + tar -xzf etc-wine-backup-* + ``` 4. Delete the backup file on the Cubic session to save on space. -``` -rm etc-wine-backup-* -``` + ``` + rm etc-wine-backup-* + ``` From 48c2ed8b4aa4e1bc37169295bce6a07a7488d7e9 Mon Sep 17 00:00:00 2001 From: Christian Haeusler <794584+corvus-ch@users.noreply.github.com> Date: Sat, 28 Feb 2026 22:11:06 +0100 Subject: [PATCH 2/4] Install VarAC Have VarAC installed to the point where it can be started. --- .../etc/skel/add-ons/wine/04-install-varac.sh | 20 ++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/overlay/etc/skel/add-ons/wine/04-install-varac.sh b/overlay/etc/skel/add-ons/wine/04-install-varac.sh index 0e74358..5d51454 100755 --- a/overlay/etc/skel/add-ons/wine/04-install-varac.sh +++ b/overlay/etc/skel/add-ons/wine/04-install-varac.sh @@ -2,6 +2,24 @@ # # Purpose : Install VarAC -# TODO +winetricks \ + --unattended \ + vcrun2015 \ + dotnet48 \ + tahoma + +installer=$(find ${HOME}/Downloads -name VarAC_Installer_*.exe | sort -r | head -n1) + +if [ -z "${installer}" ]; then + echo -e "${YELLOW}VarAC can not be downloaded automatically" + echo -e "${WHITE}Visit https://www.varac-hamradio.com/download" + echo -e "From there, download the VarAC Windows Installer and place it into ~/Downloads" + echo -e "Rerun ./04-install-varac.sh${NC}" + exit 1 +fi + +if [ -f "${installer}" ]; then + wine "${installer}" +fi echo -e "${YELLOW}Run ${WHITE}./05-run-regedit.sh${YELLOW} to run registry editor.${NC}" From 739ea2fdb3b2b864e744c2eff5c829efe56f5aaa Mon Sep 17 00:00:00 2001 From: Christian Haeusler <794584+corvus-ch@users.noreply.github.com> Date: Sun, 8 Mar 2026 11:08:08 +0100 Subject: [PATCH 3/4] More specific download instructions We need the installer executable (`.exe`) not the `.zib` advertised for use on Linux. --- overlay/etc/skel/add-ons/wine/04-install-varac.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/overlay/etc/skel/add-ons/wine/04-install-varac.sh b/overlay/etc/skel/add-ons/wine/04-install-varac.sh index 5d51454..7e68d55 100755 --- a/overlay/etc/skel/add-ons/wine/04-install-varac.sh +++ b/overlay/etc/skel/add-ons/wine/04-install-varac.sh @@ -12,8 +12,8 @@ installer=$(find ${HOME}/Downloads -name VarAC_Installer_*.exe | sort -r | head if [ -z "${installer}" ]; then echo -e "${YELLOW}VarAC can not be downloaded automatically" - echo -e "${WHITE}Visit https://www.varac-hamradio.com/download" - echo -e "From there, download the VarAC Windows Installer and place it into ~/Downloads" + echo -e "${WHITE}Visit https://www.varac-hamradio.com/download#:~:text=Download%20VarAC%20Windows%20Installer" + echo -e "Fill out the form to download the VarAC Windows Installer executable (.exe) and place it into ~/Downloads" echo -e "Rerun ./04-install-varac.sh${NC}" exit 1 fi From a1c760eab79276494d3986740a418be317a861ea Mon Sep 17 00:00:00 2001 From: Christian Haeusler <794584+corvus-ch@users.noreply.github.com> Date: Sun, 8 Mar 2026 12:50:30 +0100 Subject: [PATCH 4/4] Source EmComm Tools variables Fix color on output. --- overlay/etc/skel/add-ons/wine/04-install-varac.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/overlay/etc/skel/add-ons/wine/04-install-varac.sh b/overlay/etc/skel/add-ons/wine/04-install-varac.sh index 7e68d55..1abac42 100755 --- a/overlay/etc/skel/add-ons/wine/04-install-varac.sh +++ b/overlay/etc/skel/add-ons/wine/04-install-varac.sh @@ -2,6 +2,8 @@ # # Purpose : Install VarAC +source /opt/emcomm-tools/bin/et-common + winetricks \ --unattended \ vcrun2015 \