Author: Bernhard M. Wiedemann Date: 2018-08-30 Updated: 2025-04-14 https://bugzilla.opensuse.org/show_bug.cgi?id=1062303 Without this patch, there was always variation in /usr/sbin/amazon-ecs-init differs in ELF section .gopclntab b7ed20 7a5f1e00 285f1e00 2f746d70 2f746d70 z_..(_../tmp/tmp - b7ed30 2e6a4867 4463556e 6c46702f 7372632f .jHgDcUnlFp/src/ + b7ed30 2e385731 596d4c63 556a462f 7372632f .8W1YmLcUjF/src/ b7ed40 67697468 75622e63 6f6d2f61 77732f61 github.com/aws/a See https://reproducible-builds.org/ for why this matters. diff -Nru amazon-ecs-init-1.64.0-1.orig/scripts/gobuild.sh amazon-ecs-init-1.64.0-1/scripts/gobuild.sh --- amazon-ecs-init-1.64.0-1.orig/scripts/gobuild.sh 2022-09-14 21:39:38.000000000 +0200 +++ amazon-ecs-init-1.64.0-1/scripts/gobuild.sh 2025-04-14 10:42:42.629494434 +0200 @@ -15,7 +15,7 @@ set -x set -e export TOPWD="$(pwd)" -export BUILDDIR="$(mktemp -d)" +export BUILDDIR="$TOPWD/build" export GOPATH="${TOPWD}/ecs-init/:${BUILDDIR}" export SRCPATH="${BUILDDIR}/src/github.com/aws/amazon-ecs-init" export GO111MODULE="auto"