Point local work folders at ~/Documents/projects/sandTable-local
The KiCad working copy and the Pi image work dir moved out of ~/kicad and ~/Documents into ~/Documents/projects/sandTable-local. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
db78b1f2e6
commit
f9b4c08d60
9 files changed
+15
-15
No files matched your search
+4
-4
@@ -10,13 +10,13 @@ A Raspberry Pi Zero 2 W inside the table runs the Gyre software by itself, so yo
|
||||
|
||||
## Build the card image
|
||||
```
|
||||
pi/build-image.sh # work dir ~/Documents/gyre-pi (or give another one)
|
||||
pi/build-image.sh # work dir ~/Documents/projects/sandTable-local/gyre-pi (or give another one)
|
||||
```
|
||||
1. **First run:** it copies `settings.example.env` to `~/Documents/gyre-pi/settings.env` and stops. Fill in your Wi-Fi name, password and country.
|
||||
2. **Run it again.** In about a minute it writes `~/Documents/gyre-pi/out/gyre-pi.img.xz`.
|
||||
1. **First run:** it copies `settings.example.env` to `~/Documents/projects/sandTable-local/gyre-pi/settings.env` and stops. Fill in your Wi-Fi name, password and country.
|
||||
2. **Run it again.** In about a minute it writes `~/Documents/projects/sandTable-local/gyre-pi/out/gyre-pi.img.xz`.
|
||||
- **What it does:** it downloads Raspberry Pi OS Lite (2026-10-06, 64-bit) and 12 small packages (pyserial and Pillow), all checksum-checked. Then it puts the Gyre software, the packages and the first-boot settings into the image.
|
||||
- **No root needed.**
|
||||
- **Login details:** a password for the `gyre` user and an SSH key (`~/.ssh/gyre_pi`) are made for you. Both are written to `~/Documents/gyre-pi/CREDENTIALS.txt`.
|
||||
- **Login details:** a password for the `gyre` user and an SSH key (`~/.ssh/gyre_pi`) are made for you. Both are written to `~/Documents/projects/sandTable-local/gyre-pi/CREDENTIALS.txt`.
|
||||
- **Kept out of the repository:** your Wi-Fi password and the credentials.
|
||||
|
||||
## Write and start it
|
||||
|
||||
+2
-2
@@ -2,7 +2,7 @@
|
||||
# Builds a ready-to-flash SD card image for a Raspberry Pi Zero 2 W that runs Gyre by itself:
|
||||
# Raspberry Pi OS Lite + the Gyre software as a service on http://<hostname>.local
|
||||
#
|
||||
# pi/build-image.sh [work dir] (default work dir: ~/Documents/gyre-pi)
|
||||
# pi/build-image.sh [work dir] (default work dir: ~/Documents/projects/sandTable-local/gyre-pi)
|
||||
#
|
||||
# The work dir holds settings.env (your Wi-Fi; see settings.example.env), the downloads, the
|
||||
# build scratch area and out/gyre-pi.img.xz. Nothing secret is written inside the repository.
|
||||
@@ -10,7 +10,7 @@
|
||||
set -euo pipefail
|
||||
REPO=$(cd "$(dirname "$0")/.." && pwd)
|
||||
PI="$REPO/pi"
|
||||
W=$(realpath -m "${1:-$HOME/Documents/gyre-pi}")
|
||||
W=$(realpath -m "${1:-$HOME/Documents/projects/sandTable-local/gyre-pi}")
|
||||
mkdir -p "$W"/{download,debs,tools,out}
|
||||
[ -f "$W/settings.env" ] || { cp "$PI/settings.example.env" "$W/settings.env"; echo "Fill in $W/settings.env, then run again."; exit 1; }
|
||||
. "$W/settings.env"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copy to <work dir>/settings.env (default ~/Documents/gyre-pi/settings.env) and fill in.
|
||||
# Copy to <work dir>/settings.env (default ~/Documents/projects/sandTable-local/gyre-pi/settings.env) and fill in.
|
||||
# It holds your Wi-Fi password, so keep it out of git.
|
||||
SSID="your network" # 2.4 GHz: the Pi Zero 2 W has no 5 GHz radio
|
||||
WIFI_PASSWORD="your password"
|
||||
|
||||
Reference in new issue
Block a user