summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_info.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-09-26 14:00:03 +0200
committerHolger Levsen <holger@layer-acht.org>2015-09-26 14:00:03 +0200
commite8fb5c5fa5b4eacb4b2fd46164803bb6c2349e2a (patch)
treeaadb8a7a698c5ab4c52e379195b46582c884fd40 /bin/reproducible_info.sh
parent716cb811c4805f0c60f07a8ae1b3538746c006af (diff)
downloadjenkins.debian.net-e8fb5c5fa5b4eacb4b2fd46164803bb6c2349e2a.tar.xz
reproducible: also collect kernel version from the nodes
Diffstat (limited to 'bin/reproducible_info.sh')
-rwxr-xr-xbin/reproducible_info.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/reproducible_info.sh b/bin/reproducible_info.sh
index 3b66e6e5..ffd26584 100755
--- a/bin/reproducible_info.sh
+++ b/bin/reproducible_info.sh
@@ -12,7 +12,8 @@ ARCH=$(dpkg --print-architecture)
NUM_CPU=$(grep -c '^processor' /proc/cpuinfo)
CPU_MODEL=$(cat /proc/cpuinfo |grep "model name"|head -1|cut -d ":" -f2|xargs echo)
DATETIME=$(date +'%Y-%m-%d %H:%M %Z')
-
+KERNEL1=$(uname -a)
+KERNEL2=$(linux64 --uname-2.6 uname -a)
for i in $BUILD_ENV_VARS ; do
echo "$i=${!i}"
done