diff options
author | Holger Levsen <holger@layer-acht.org> | 2016-04-06 15:43:23 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-04-06 15:43:23 +0200 |
commit | 3648a874113d41dee4ecb59a903f3b450d550735 (patch) | |
tree | 2d0d166991596209ff2c739b7c5799da7fda4e79 /bin | |
parent | 5585c7b2fcf703047da8c3d853827232882d5fbd (diff) | |
download | jenkins.debian.net-3648a874113d41dee4ecb59a903f3b450d550735.tar.xz |
reproducible debian: correctly show kernels used in variation table
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_common.sh | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh index 9f897591..086b7685 100755 --- a/bin/reproducible_common.sh +++ b/bin/reproducible_common.sh @@ -426,13 +426,17 @@ write_explaination_table() { fi if [ "$1" != "FreeBSD" ] ; then if [ "$1" = "debian" ] ; then - write_page "<tr><td>kernel version</td></td><td>one of:" - write_page " $(cat /srv/reproducible-results/node-information/* | grep KERNEL | grep amd64 | cut -d '=' -f2- | sort -u | tr '\n' '\0' | xargs -0 -n1 echo '<br /> ')" - write_page " $(cat /srv/reproducible-results/node-information/* | grep KERNEL | grep -v amd64 | cut -d '=' -f2- | sort -u | tr '\n' '\0' | xargs -0 -n1 echo '<br /> ')" + write_page "<tr><td>kernel version</td></td><td>" + for a in ${ARCHS} ; do + write_page "<br />on $a one of:" + write_page "$(cat /srv/reproducible-results/node-information/*$a* | grep KERNEL | cut -d '=' -f2- | sort -u | tr '\n' '\0' | xargs -0 -n1 echo '<br /> ')" + done write_page "</td>" - write_page "<td>(on amd64 systematically varied, on armhf not yet)<br />" - write_page "one of: $(cat /srv/reproducible-results/node-information/* | grep KERNEL | grep amd64 | cut -d '=' -f2- | sort -u | tr '\n' '\0' | xargs -0 -n1 echo '<br /> ')" - write_page "one of: $(cat /srv/reproducible-results/node-information/* | grep KERNEL | grep -v amd64 | cut -d '=' -f2- | sort -u | tr '\n' '\0' | xargs -0 -n1 echo '<br /> ')" + write_page "<td>(on amd64 systematically varied, on i386 too (and also with 32 and 64 bit kernel variation) on armhf not yet)<br />" + for a in ${ARCHS} ; do + write_page "<br />on $a one of:" + write_page "$(cat /srv/reproducible-results/node-information/*$a* | grep KERNEL | cut -d '=' -f2- | sort -u | tr '\n' '\0' | xargs -0 -n1 echo '<br /> ')" + done write_page "</td></tr>" elif [ "$1" != "Arch Linux" ] ; 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>" @@ -446,7 +450,7 @@ write_explaination_table() { fi FUTURE=$(date --date="${DATE}+398 days" +'%Y-%m-%d') if [ "$1" = "debian" ] ; then - write_page "<tr><td>CPU type</td><td>one of: $(cat /srv/reproducible-results/node-information/* | grep CPU_MODEL | cut -d '=' -f2- | sort -u | tr '\n' '\0' | xargs -0 -n1 echo '<br /> ')</td><td>on amd64: same for both builds (currently, work in progress<br />on armhf: sometimes varied (depending on the build job)</td></tr>" + write_page "<tr><td>CPU type</td><td>one of: $(cat /srv/reproducible-results/node-information/* | grep CPU_MODEL | cut -d '=' -f2- | sort -u | tr '\n' '\0' | xargs -0 -n1 echo '<br /> ')</td><td>on amd64 and i386: same for both builds (currently, work in progress)<br />on armhf: sometimes varied (depending on the build job)</td></tr>" write_page "<tr><td>/bin/sh</td><td>/bin/dash</td><td>/bin/bash</td></tr>" write_page "<tr><td>year, month, date</td><td>today ($DATE) or on amd64 also: $FUTURE</td><td>on amd64: varied (398 days difference)<br />on armhf: same for both builds (currently, work in progress)</td></tr>" else |