From f0a18cab05da1130bf9ac1f634b10cf881fd192a Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 6 Jun 2015 19:09:07 +0200 Subject: reproducible: more refactoring. add write_explaination_table() to be used for all tested projects. --- bin/reproducible_coreboot.sh | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) (limited to 'bin/reproducible_coreboot.sh') diff --git a/bin/reproducible_coreboot.sh b/bin/reproducible_coreboot.sh index 03c6f730..9d2da652 100755 --- a/bin/reproducible_coreboot.sh +++ b/bin/reproducible_coreboot.sh @@ -25,18 +25,6 @@ create_results_dirs() { mkdir -p $BASE/coreboot/dbd } -calculate_build_duration() { - END=$(date +'%s') - DURATION=$(( $END - $START )) -} - -print_out_duration() { - local HOUR=$(echo "$DURATION/3600"|bc) - local MIN=$(echo "($DURATION-$HOUR*3600)/60"|bc) - local SEC=$(echo "$DURATION-$HOUR*3600-$MIN*60"|bc) - echo "$(date -u) - total duration: ${HOUR}h ${MIN}m ${SEC}s." -} - call_debbindiff() { local TMPLOG=(mktemp --tmpdir=$TMPDIR) echo @@ -190,9 +178,11 @@ cat > $PAGE <<- EOF
EOF -write_page "

Reproducible Coreboot

This is work in progress - only TZ, LANG, LC_CTYPE variable and number of cores variations yet and no fancy html.

"
-write_page $COREBOOT
-write_page "