tools commit

This commit is contained in:
Neil Hanlon 2022-11-28 23:05:03 -05:00
parent e9e05ddfa0
commit ef2f938228
Signed by: neil
GPG Key ID: 705BC21EC3C70F34
2 changed files with 10 additions and 1 deletions

View File

@ -25,6 +25,10 @@ build-container-manifests() {
build_args="--os linux --arch amd64 " ;;
aarch64)
build_args="--os linux --arch arm64 --variant v8" ;;
s390x)
build_args="--os linux --arch s390x" ;;
ppc64le)
build_args="--os linux --arch ppc64le" ;;
*) echo "invalid arch"; exit;;
esac

View File

@ -19,6 +19,7 @@ source "$(dirname "${BASH_SOURCE[0]}")/common.sh"
name="Rocky-${version}.${date}-${type}"
arches=(x86_64 aarch64)
set -x
if [[ $major -ge 9 ]]; then
arches=(${arches[@]} s390x ppc64le)
fi
@ -45,6 +46,10 @@ GitFetch: refs/heads/${name}-x86_64
GitCommit: ${shasums[x86_64]}
arm64v8-GitFetch: refs/heads/${name}-aarch64
arm64v8-GitCommit: ${shasums[aarch64]}
Architectures: amd64, arm64v8
s390x-GitFetch: refs/heads/${name}-s390x
s390x-GitCommit: ${shasums[s390x]}
ppc64le-GitFetch: refs/heads/${name}-ppc64le
ppc64le-GitCommit: ${shasums[ppc64le]}
Architectures: amd64, arm64v8, ppc64le, s390x
EOF