From bf408d4a6ed8d5eb2ffcf1bd8d057963c7645546 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 7 Sep 2015 00:54:56 +0200 Subject: reproducible: report cpu model too --- bin/reproducible_info.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2