aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-02-22 23:23:59 -0600
committerCraig Jennings <c@cjennings.net>2026-02-22 23:23:59 -0600
commit8b9c2cc247f8d71d570921cb127e7e08cfac7674 (patch)
tree0b0e00f580f2130cad98e2f2a9e2e7175116a7c0 /build.sh
parent26831607be9ae3bbc542bfc352dab718a486cab2 (diff)
downloadarchangel-8b9c2cc247f8d71d570921cb127e7e08cfac7674.tar.gz
archangel-8b9c2cc247f8d71d570921cb127e7e08cfac7674.zip
clean personal info and private files from repository
- Remove personal hardware specs, machine-specific troubleshooting docs, and video transcript from assets/ - Remove stale PLAN-zfsbootmenu-implementation.org (feature complete) - Remove .stignore (Syncthing config, not project-relevant) - Untrack todo.org (personal task tracker with private infra details) - Make archsetup path configurable via ARCHSETUP_DIR env var in build.sh - Use $REAL_USER instead of hardcoded username in build-release scp
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index 8dc9c51..f17ee62 100755
--- a/build.sh
+++ b/build.sh
@@ -421,7 +421,8 @@ if grep -q "file_permissions=" "$PROFILE_DIR/profiledef.sh"; then
fi
# Copy archsetup into airootfs (exclude large/unnecessary directories)
-if [[ -d /home/cjennings/code/archsetup ]]; then
+ARCHSETUP_DIR="${ARCHSETUP_DIR:-$HOME/code/archsetup}"
+if [[ -d "$ARCHSETUP_DIR" ]]; then
info "Copying archsetup into ISO..."
mkdir -p "$PROFILE_DIR/airootfs/code"
rsync -a --exclude='.git' \
@@ -430,7 +431,7 @@ if [[ -d /home/cjennings/code/archsetup ]]; then
--exclude='test-results' \
--exclude='*.qcow2' \
--exclude='*.iso' \
- /home/cjennings/code/archsetup "$PROFILE_DIR/airootfs/code/"
+ "$ARCHSETUP_DIR" "$PROFILE_DIR/airootfs/code/"
fi
# Pre-populate tealdeer (tldr) cache for offline use