Skip to content

Scripts for single board computers

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

masnagam/sbc-scripts

Repository files navigation

Scripts for single board computers

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 install

The filename of a script for a specific SBC starts with a label listed below:

  • rpi: Raspbian/Raspberry Pi
  • rock64: 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 -- -h

Docker images for get-docker-compose

Docker 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

Invoke the build job

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"

License

Licensed under either of

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.

About

Scripts for single board computers

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages