This patch instruments so we can be certain *what* bootstrap.sh
was used to build the running image and what
include-raw-vpp-build.sh was run for the Job
Change-Id: I69782c3bca71f24d24133205130be059a14a114c
Signed-off-by: Ed Warnicke <eaw@cisco.com>
echo $CCACHE_DIR does not exist. This must be a new slave.
fi
+echo "cat /etc/bootstrap.sha"
+if [ -f /etc/bootstrap.sha ];then
+ cat /etc/bootstrap.sha
+else
+ echo "Cannot find cat /etc/bootstrap.sha"
+fi
+
+echo "shasum of this script: ${0}"
+shasum $0
+
# Check to make sure the patch doesn't need to be rebased
# Since there was a discontinuity, patches with a
# parent before 30d41ff need to be rebased
do_setup
+# record the bootstrap.sh checksum
+shasum $0 > /etc/bootstrap.sha
+
echo "---> Attempting to detect OS"
# OS selector
if [ -f /usr/bin/yum ]