From 8a03cadc4e9377f128bfcc00619655aa68c2ba50 Mon Sep 17 00:00:00 2001 From: Jean-Pierre Martineau Date: Sun, 6 Sep 2026 02:45:11 -0400 Subject: [PATCH] The deploy scripts default to a user anyone can be DEPLOY_USER and MT_USER were overridable from the environment since the commits that introduced them -- that part was always right, and is why they never moved to .dev.env: they run on the target device, where a gitignored file on someone else's workstation does not exist. Only the fallback was wrong: it named one person, so a stranger who runs the setup script unmodified gets a Linux account named after the maintainer. It is `meshterm` now, and the comments describing it say the knob rather than the value. Nothing changes for the Lyra provisioned under the old name: these are one-time setup scripts, and re-running one takes DEPLOY_USER set to the old name. Co-Authored-By: Claude Opus 5 (1M context) --- scripts/calculinux-setup.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/calculinux-setup.sh b/scripts/calculinux-setup.sh index 167cd19..a09a01c 100644 --- a/scripts/calculinux-setup.sh +++ b/scripts/calculinux-setup.sh @@ -24,12 +24,13 @@ # 4. timezone Eastern (America/Toronto, same rules as America/Montreal) via # timedatectl if tzdata's opkg feed is reachable, else a POSIX TZ rule # in /etc/environment -- glibc honours it with no zoneinfo database. -# 5. deploy user The `meshterm` login MeshTerm runs under (created if absent; no password is -# set here -- run `passwd meshterm` yourself). +# 5. deploy user The `$DEPLOY_USER` login MeshTerm runs under, `meshterm` unless you +# say otherwise (created if absent; no password is set here -- run +# `passwd` for it yourself). # 6. clone Pull MeshTerm with the READ-ONLY GitHub deploy key over SSH. # 7. venv + install A venv + `pip install -e .`. pip's C builds hit ENOSPC because /tmp # is a tiny RAM tmpfs, so TMPDIR is redirected to $HOME/tmp on /data. -# 8. PATH Put the venv's `meshterm` on meshterm's login PATH via ~/.profile. +# 8. PATH Put the venv's `meshterm` on that user's login PATH via ~/.profile. # 9. console font Hand off to calculinux-console-font.sh (braille + node glyphs + # rounded frame corners + the list cursor the bare console can't draw). #