summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_common.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-09-26 14:03:47 +0200
committerHolger Levsen <holger@layer-acht.org>2015-09-26 14:03:47 +0200
commit218dc572ca192c4ca12aae01480c43f030c98bd5 (patch)
tree47c22daf6b876dc37aeeabe6a5c18b2b5c4e2c92 /bin/reproducible_common.sh
parente8fb5c5fa5b4eacb4b2fd46164803bb6c2349e2a (diff)
downloadjenkins.debian.net-218dc572ca192c4ca12aae01480c43f030c98bd5.tar.xz
reproducible: explain how the kernels are varied for amd64+armhf
Diffstat (limited to 'bin/reproducible_common.sh')
-rwxr-xr-xbin/reproducible_common.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index 393029d3..81d1ad7f 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -340,7 +340,11 @@ write_explaination_table() {
fi
fi
if [ "$1" != "FreeBSD" ] ; then
- write_page "<tr><td>kernel version, modified using /usr/bin/linux64 --uname-2.6</td><td>$(uname -sr)</td><td>$(/usr/bin/linux64 --uname-2.6 uname -sr)</td></tr>"
+ if [ "$1" = "debian" ] ; then
+ write_page "<tr><td>kernel version, modified using /usr/bin/linux64 --uname-2.6</td></td><td>one of: $(cat /srv/reproducible-results/node-information/* | grep KERNEL1 | cut -d '=' -f2- | sort -u | tr '\n' '\0' | xargs -0 -n1 echo '<br />&nbsp;&nbsp;')</td><td>one of: $(cat /srv/reproducible-results/node-information/* | grep KERNEL2 | cut -d '=' -f2- | sort -u | tr '\n' '\0' | xargs -0 -n1 echo '<br />&nbsp;&nbsp;')</td></tr>"
+ else
+ write_page "<tr><td>kernel version, modified using /usr/bin/linux64 --uname-2.6</td><td>$(uname -sr)</td><td>$(/usr/bin/linux64 --uname-2.6 uname -sr)</td></tr>"
+ fi
write_page "<tr><td>umask</td><td>0022<td>0002</td><tr>"
else
write_page "<tr><td>FreeBSD kernel version</td><td colspan=\"2\"> is not yet varied between rebuilds of $1.</td></tr>"