From c999eea6a49c8bf7c0f7ddfc4354dc671bfbcbfc Mon Sep 17 00:00:00 2001 From: pstruebi Date: Thu, 24 Apr 2025 15:51:59 +0200 Subject: [PATCH] fix custom stage and add readme --- README_AURACAST_SYSTEM.md | 10 +++++++++- stage2.1_custom/00-install/00-run.sh | 6 +++++- 2 files changed, 14 insertions(+), 2 deletions(-) mode change 100644 => 100755 stage2.1_custom/00-install/00-run.sh diff --git a/README_AURACAST_SYSTEM.md b/README_AURACAST_SYSTEM.md index b6a691e..9d0a96f 100644 --- a/README_AURACAST_SYSTEM.md +++ b/README_AURACAST_SYSTEM.md @@ -1,2 +1,10 @@ # Build -- Always use the docker build script \ No newline at end of file +- Always use the docker build script + - sudo CONTINUE=1 bash build-docker.sh + + # System +- this builds a 'lite' version of the system, featuring also basic development tools +- deactivate wifi and bluetooth (wifi can be deactivated, bt has bt-disable overlay) +- install docker +- install poetry +- install wireguard diff --git a/stage2.1_custom/00-install/00-run.sh b/stage2.1_custom/00-install/00-run.sh old mode 100644 new mode 100755 index cec24b5..719efdf --- a/stage2.1_custom/00-install/00-run.sh +++ b/stage2.1_custom/00-install/00-run.sh @@ -4,8 +4,10 @@ set -e # Install Docker (official instructions for Raspberry Pi OS) curl -fsSL https://download.docker.com/linux/raspbian/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg +apt-get update && apt-get install -y lsb-release + echo \ - "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/raspbian \ + "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian \ $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null apt-get update apt-get install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin @@ -13,6 +15,8 @@ apt-get install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin docker compose version || true # Install Python Poetry (official installer) +apt-get update +apt-get install -y python3 curl -sSL https://install.python-poetry.org | python3 - # Install WireGuard