Commit 6ae1c138 authored by Kevin Daudt's avatar Kevin Daudt 💻
Browse files

setup: only install gcc-gnat when available

parent 50499ca8
Pipeline #96806 passed with stages
in 5 minutes and 51 seconds
......@@ -5,8 +5,15 @@ set -eu
echo "$release/main" > /etc/apk/repositories
gcc_gnat_pkg=$(apk search -x gcc-gnat)
[ -n "$gcc_gnat_pkg" ] && extra_pkgs="$extra_pkgs gcc-gnat"
apk -U upgrade -a
apk add alpine-sdk lua-aports pigz gcc-gnat sudo
# shellcheck disable=SC2086
apk add alpine-sdk lua-aports pigz sudo $extra_pkgs
rm -rf /var/cache/apk/*
# use buildozer for building
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment