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] 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-* + ```