This repository contains several scripts which are intended to be used on single board computers like Raspberry Pi.
Each script can be run with curl and sh like below:
curl -fsSL https://raw.githubusercontent.com/masnagam/sbc-scripts/main/install-px4-drv \
  | sh -s -- --dkms installThe filename of a script for a specific SBC starts with a label listed below:
rpi: Raspbian/Raspberry Pirock64: Armbian/ROCK64
For details, see comments in each script or help which is shown by running with
the -h or --help option like below:
curl -fsSL https://raw.githubusercontent.com/masnagam/sbc-scripts/main/get-docker-compose \
  | sh -s -- -hDocker Hub:
Supported distros:
- alpine
 - debian (main distro)
 
Supported platforms:
- linux/386
 - linux/amd64
 - linux/arm/v6 (only for alpine)
 - linux/arm/v7
 - linux/arm64/v8
 
Run a script like below:
REPO=masnagam/sbc-scripts
GITHUB_TOKEN='token...'
VERSION='1.25.4'
JSON=$(cat <<EOF
{
  "event_type": "build-docker-compose",
  "client_payload": {
    "version": "$VERSION",
    "latest": true
  }
}
EOF
)
echo "$JSON" | curl https://api.github.com/repos/$REPO/dispatches \
  -X POST -d @- \
  -H "Authorization: token $GITHUB_TOKEN" \
  -H "Content-Type: application/json"Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
 - MIT License (LICENSE-MIT or http://opensource.org/licenses/MIT)
 
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.