summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-09-07 00:54:56 +0200
committerHolger Levsen <holger@layer-acht.org>2015-09-07 00:54:56 +0200
commitbf408d4a6ed8d5eb2ffcf1bd8d057963c7645546 (patch)
tree74c6b4f64bae73a446e1eaac99d409deebf92f53
parent6e5208a09b5e75a7cbf447b0c191e6d69bcefa35 (diff)
downloadjenkins.debian.net-bf408d4a6ed8d5eb2ffcf1bd8d057963c7645546.tar.xz
reproducible: report cpu model too
-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 4f44e658..41a4c630 100755
--- a/bin/reproducible_info.sh
+++ b/bin/reproducible_info.sh
@@ -7,9 +7,10 @@ set -e
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')
-for i in ARCH NUM_CPU DATETIME ; do
+for i in ARCH NUM_CPU CPU_MODEL DATETIME ; do
if [ "$1" = "$i" ] ; then
echo "${!i}"
fi