Skip to content

Commit

Permalink
Merge branch 'testing' into Eeems-patch-9
Browse files Browse the repository at this point in the history
  • Loading branch information
Eeems authored Jan 7, 2025
2 parents 14e4a0e + 259b413 commit e249a83
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion scripts/bootstrap/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,20 @@ if [ -z "$BASH" ] || [[ "$(ps | awk '$1=='$$' { n=split($5,a,"/"); print a[n] }'
exit 1
fi

arch=""
case "$(uname -m)" in
"armv7l")
arch="armv7sf-k3.2"
;;
#"aarch64)
# arch="aarch64-k3.10"
# ;;
*)
echo "Unsupported device architecture"
exit 1
;;
esac

set -eEuo pipefail

# Path to the temporary local wget and Opkg binaries
Expand All @@ -33,7 +47,7 @@ toltecctl_path="${toltecctl_path:-/home/root/.local/bin/toltecctl}"
toltec_branch="${toltec_branch:-stable}"

# Base URLs for bootstrapping from the Entware and Toltec repositories
entware_remote="${entware_remote:-https://bin.entware.net/armv7sf-k3.2/installer}"
entware_remote="${entware_remote:-https://bin.entware.net/$arch/installer}"
toltec_remote="${toltec_remote:-https://toltec-dev.org/$toltec_branch/rmall}"

# Remove all temporary files
Expand Down

0 comments on commit e249a83

Please sign in to comment.