From 6f3ca4b71e72d7f3d9af600224b4b0b0b0202bd4 Mon Sep 17 00:00:00 2001 From: Patrick Naubert Date: Sat, 27 Jun 2020 12:47:12 -0400 Subject: [PATCH 1/6] $DIR needs to created before first run. Race condition if not. --- build-a-pi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build-a-pi b/build-a-pi index 0913223..c757f0a 100644 --- a/build-a-pi +++ b/build-a-pi @@ -423,6 +423,8 @@ sudo apt -y full-upgrade #set wallpaper pcmanfm --set-wallpaper $HOME/pi-build/bap-wallpaper.jpg +mkdir -p $DIR 2> /dev/null + #add virtual sound card link for pulse audio cd $DIR cat > tempsound < Date: Sat, 27 Jun 2020 12:59:43 -0400 Subject: [PATCH 2/6] If we don't output something to the window, the user may wonder if we are still installing and hesitate to press the reboot button in the popup. --- build-a-pi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build-a-pi b/build-a-pi index c757f0a..2dc552c 100644 --- a/build-a-pi +++ b/build-a-pi @@ -540,6 +540,9 @@ sudo apt -y autoremove > /dev/null 2>&1 #restore crontab crontab $TEMPCRON rm $TEMPCRON + +echo "WE ARE ALL DONE HERE. If you close this window, you will have to reboot manually." + #reboot when done yad --width=400 --height=200 --title="Reboot" --image $LOGO \ --text-align=center --skip-taskbar --image-on-top \ From cd6e88506a9fb980e49ff936688bfd1ffd01b3c9 Mon Sep 17 00:00:00 2001 From: Patrick Naubert Date: Mon, 29 Jun 2020 16:20:57 -0400 Subject: [PATCH 3/6] Don't Git track the config file. --- .gitignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..04204c7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +config From 7ca2d1488d46b6fd067f0a777c88bc2fb7704d64 Mon Sep 17 00:00:00 2001 From: Patrick Naubert Date: Mon, 29 Jun 2020 16:21:42 -0400 Subject: [PATCH 4/6] Make build-a-pi script executable. --- build-a-pi | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 build-a-pi diff --git a/build-a-pi b/build-a-pi old mode 100644 new mode 100755 From cd7b92417522579c5ab9ccfbc8640af41dce552c Mon Sep 17 00:00:00 2001 From: Patrick Naubert Date: Sat, 27 Jun 2020 11:32:32 -0400 Subject: [PATCH 5/6] Additional instructions. --- README.md | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 159ddf5..085baef 100644 --- a/README.md +++ b/README.md @@ -21,9 +21,17 @@ Winlink Password & Grid Square # Install This script is intended to run on a brand new installation of Buster. It should not be run on a pi that you have already started installing applications on. Install additional apps that you require after running this script.\ \ -Flash a fresh copy of Buster to a SD card and run the following command +Get Debian Buster from https://cdimage.debian.org/debian-cd/current/arm64/iso-cd/ file debian-10.4.0-arm64-xfce-CD-1.iso +NOTE: The Debian Buster arm64 image does not come with RealVNC server pre-installed, as it does with Raspbian. The reason is that RealVNC package is currently compiled for the armhf version of libbcm_host.so, which is a hook into the Broadcom GPU chip. As of 2020-06-27, it is not yet possible to get Debian Buster ARM64 to work with VNC. - git clone https://github.com/km4ack/pi-build.git $HOME/pi-build && bash $HOME/pi-build/build-a-pi +If this is a problem for you, then you will need to download Raspberry Pi OS (previously called Rasbian) 32-bit from https://downloads.raspberrypi.org/raspios_armhf_latest + +Use a USB flash application such as Balena Etcher to copy the iso file to a USB key, get it at https://www.balena.io/etcher/ + +Power up your Raspberry Pi, login, and in your home directory, run the following command + + git clone https://github.com/km4ack/pi-build.git \ + $HOME/pi-build && bash $HOME/pi-build/build-a-pi # Video [![IMAGE ALT TEXT](https://img.youtube.com/vi/l4M9VVqGxoc/0.jpg)](https://youtu.be/l4M9VVqGxoc "Build a Pi") @@ -44,6 +52,9 @@ Software for DS3231 real time clock (Available through update script after initi #### HOTSPOT: Hotspot is used to generate a wifi hotspot that you can connect to with other wireless devices. This is useful when in the field so you can connect to and contol the pi from a wireless device. +If enabled, the hotspot will only activate IF the Pi is not connected to a wireless network. The hotspot will either activate at bootup, OR a maximum of 5 minutes AFTER you have forcefully disconnected from a wireless network. You can tune that detection delay in the settings. +The hotspot default SSID is *RpiHotspot* and the default IP address of the Pi is 10.10.10.10. +Make sure to enable either VNC or SSH server in order to remotely connect to your Pi at that address. #### Hotspot Tools: Hotspot tools is a collection of tools designed to make managing the hotspot easier through a GUI interface. https://youtu.be/O_eihSN_ES8 @@ -144,4 +155,4 @@ Calculate lengths needed for dipole legs Graphic viewer to view/manage log files #### Gparted -Disk utility \ No newline at end of file +Disk utility From 973425c4b331c7043b0c2d7775cedd0245db731b Mon Sep 17 00:00:00 2001 From: Patrick Naubert Date: Sun, 9 Aug 2020 14:43:32 -0400 Subject: [PATCH 6/6] Add a carriage return. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 085baef..d2491eb 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,7 @@ Hotspot is used to generate a wifi hotspot that you can connect to with other wi If enabled, the hotspot will only activate IF the Pi is not connected to a wireless network. The hotspot will either activate at bootup, OR a maximum of 5 minutes AFTER you have forcefully disconnected from a wireless network. You can tune that detection delay in the settings. The hotspot default SSID is *RpiHotspot* and the default IP address of the Pi is 10.10.10.10. Make sure to enable either VNC or SSH server in order to remotely connect to your Pi at that address. + #### Hotspot Tools: Hotspot tools is a collection of tools designed to make managing the hotspot easier through a GUI interface. https://youtu.be/O_eihSN_ES8