Rename Pi tarball to stegasoo-rpi-runtime-env-arm64.tar.zst
More descriptive name for the pre-built pyenv + venv bundle. Updated all scripts and docs to use new filename. Also bumped PREBUILT_URL to v4.1.5. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
5
.gitignore
vendored
5
.gitignore
vendored
@@ -87,9 +87,8 @@ frontends/web/temp_files/
|
|||||||
rpi/config.json
|
rpi/config.json
|
||||||
|
|
||||||
# Pre-built Pi tarballs and images (release assets, too large for git)
|
# Pre-built Pi tarballs and images (release assets, too large for git)
|
||||||
rpi/stegasoo-pi-arm64.tar.zst
|
rpi/*.tar.zst
|
||||||
rpi/stegasoo-pi-arm64.tar.zst.zip
|
rpi/*.tar.zst.zip
|
||||||
rpi/stegasoo-venv-pi-arm64.tar.zst
|
|
||||||
rpi/*.img
|
rpi/*.img
|
||||||
rpi/*.img.zst
|
rpi/*.img.zst
|
||||||
rpi/*.img.zst.zip
|
rpi/*.img.zst.zip
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ git clone -b 4.1 https://github.com/adlee-was-taken/stegasoo.git stegasoo
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# On your host machine:
|
# On your host machine:
|
||||||
scp rpi/stegasoo-pi-arm64.tar.zst admin@stegasoo.local:/opt/stegasoo/rpi/
|
scp rpi/stegasoo-rpi-runtime-env-arm64.tar.zst admin@stegasoo.local:/opt/stegasoo/rpi/
|
||||||
```
|
```
|
||||||
|
|
||||||
This tarball contains:
|
This tarball contains:
|
||||||
@@ -149,17 +149,17 @@ tar -cf - venv/ | zstd -19 -T0 > ~/stegasoo-venv.tar.zst
|
|||||||
|
|
||||||
# Create combined tarball (pyenv + venv pointer)
|
# Create combined tarball (pyenv + venv pointer)
|
||||||
cd ~
|
cd ~
|
||||||
tar -cf - .pyenv stegasoo-venv.tar.zst | zstd -19 -T0 > /tmp/stegasoo-pi-arm64.tar.zst
|
tar -cf - .pyenv stegasoo-venv.tar.zst | zstd -19 -T0 > /tmp/stegasoo-rpi-runtime-env-arm64.tar.zst
|
||||||
|
|
||||||
# Check size (should be ~50-60MB)
|
# Check size (should be ~50-60MB)
|
||||||
ls -lh /tmp/stegasoo-pi-arm64.tar.zst
|
ls -lh /tmp/stegasoo-rpi-runtime-env-arm64.tar.zst
|
||||||
```
|
```
|
||||||
|
|
||||||
Pull to host and upload to GitHub releases:
|
Pull to host and upload to GitHub releases:
|
||||||
```bash
|
```bash
|
||||||
# On host:
|
# On host:
|
||||||
scp admin@stegasoo.local:/tmp/stegasoo-pi-arm64.tar.zst ./
|
scp admin@stegasoo.local:/tmp/stegasoo-rpi-runtime-env-arm64.tar.zst ./
|
||||||
# Upload to GitHub releases as stegasoo-pi-arm64.tar.zst
|
# Upload to GitHub releases as stegasoo-rpi-runtime-env-arm64.tar.zst
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
@@ -173,7 +173,7 @@ sudo apt-get update && sudo apt-get install -y git zstd jq
|
|||||||
cd /opt && git clone -b 4.1 https://github.com/adlee-was-taken/stegasoo.git stegasoo
|
cd /opt && git clone -b 4.1 https://github.com/adlee-was-taken/stegasoo.git stegasoo
|
||||||
|
|
||||||
# On host (copy tarball):
|
# On host (copy tarball):
|
||||||
scp rpi/stegasoo-pi-arm64.tar.zst admin@stegasoo.local:/opt/stegasoo/rpi/
|
scp rpi/stegasoo-rpi-runtime-env-arm64.tar.zst admin@stegasoo.local:/opt/stegasoo/rpi/
|
||||||
|
|
||||||
# On Pi (run setup):
|
# On Pi (run setup):
|
||||||
cd /opt/stegasoo && ./rpi/setup.sh
|
cd /opt/stegasoo && ./rpi/setup.sh
|
||||||
|
|||||||
@@ -154,7 +154,7 @@ echo ""
|
|||||||
echo -e "${GREEN}[6/8]${NC} Copying pre-built tarball to Pi..."
|
echo -e "${GREEN}[6/8]${NC} Copying pre-built tarball to Pi..."
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
TARBALL="$SCRIPT_DIR/stegasoo-pi-arm64.tar.zst"
|
TARBALL="$SCRIPT_DIR/stegasoo-rpi-runtime-env-arm64.tar.zst"
|
||||||
if [[ -f "$TARBALL" ]]; then
|
if [[ -f "$TARBALL" ]]; then
|
||||||
scp_to_pi "$TARBALL" "/opt/stegasoo/rpi/"
|
scp_to_pi "$TARBALL" "/opt/stegasoo/rpi/"
|
||||||
echo -e " ${GREEN}✓${NC} Tarball copied"
|
echo -e " ${GREEN}✓${NC} Tarball copied"
|
||||||
|
|||||||
@@ -200,8 +200,8 @@ fi
|
|||||||
|
|
||||||
# Pre-built environment tarball (skips 20+ min compile time)
|
# Pre-built environment tarball (skips 20+ min compile time)
|
||||||
# Includes both pyenv Python 3.12 AND venv with all dependencies
|
# Includes both pyenv Python 3.12 AND venv with all dependencies
|
||||||
PREBUILT_TARBALL="$INSTALL_DIR/rpi/stegasoo-pi-arm64.tar.zst"
|
PREBUILT_TARBALL="$INSTALL_DIR/rpi/stegasoo-rpi-runtime-env-arm64.tar.zst"
|
||||||
PREBUILT_URL="${PREBUILT_URL:-https://github.com/adlee-was-taken/stegasoo/releases/download/v4.1.3/stegasoo-pi-arm64.tar.zst}"
|
PREBUILT_URL="${PREBUILT_URL:-https://github.com/adlee-was-taken/stegasoo/releases/download/v4.1.5/stegasoo-rpi-runtime-env-arm64.tar.zst}"
|
||||||
USE_PREBUILT=true
|
USE_PREBUILT=true
|
||||||
|
|
||||||
# Use local tarball if present, otherwise will download
|
# Use local tarball if present, otherwise will download
|
||||||
|
|||||||
Reference in New Issue
Block a user