[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: report cpu model too
Holger Levsen
holger at moszumanska.debian.org
Sun Sep 6 22:55:29 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit bf408d4a6ed8d5eb2ffcf1bd8d057963c7645546
Author: Holger Levsen <holger at layer-acht.org>
Date: Mon Sep 7 00:54:56 2015 +0200
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 4f44e65..41a4c63 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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list