[Qa-jenkins-scm] [jenkins.debian.net] 01/02: reproducible LEDE: rewrite header to reuse description from OpenWrt for LEDE too

Holger Levsen holger at layer-acht.org
Sun Apr 30 12:21:40 UTC 2017


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 684ad594a8e320bcf69f0bbddb0d6edf79553789
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sun Apr 30 14:07:38 2017 +0200

    reproducible LEDE: rewrite header to reuse description from OpenWrt for LEDE too
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_common.sh | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index 4ed6414..8a62e0a 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -288,10 +288,14 @@ write_page_intro() {
 		write_page "        <p><em>Reproducible Coreboot</em> is an effort to apply this to coreboot. Thus each coreboot.rom is build twice (without payloads), with a few varitations added and then those two ROMs are compared using <a href=\"https://tracker.debian.org/diffoscope\">diffoscope</a>. Please note that the toolchain is not varied at all as the rebuild happens on exactly the same system. More variations are expected to be seen in the wild.</p>"
 		local PROJECTNAME="$1"
 		local PROJECTURL="https://review.coreboot.org/p/coreboot.git"
-	elif [ "$1" = "OpenWrt" ] ; then
-		write_page "        <p><em>Reproducible OpenWrt</em> is an effort to apply this to OpenWrt. Thus each OpenWrt target is build twice, with a few varitations added and then the resulting images and packages from the two builds are compared using <a href=\"https://tracker.debian.org/diffoscope\">diffoscope</a>. OpenWRT generates many different types of raw <code>.bin</code> files, and diffoscope does not know how to parse these. Thus the resulting diffoscope output is not nearly as clear  [...]
-		local PROJECTNAME="openwrt"
-		local PROJECTURL="git://git.openwrt.org/openwrt.git"
+	elif [ "$1" = "OpenWrt" ] || [ "$1" = "LEDE" ]; then
+		local PROJECTNAME="$1"
+		if [ "$PROJECTNAME" = "OpenWrt" ] ; then
+			local PROJECTURL="git://git.openwrt.org/openwrt.git"
+		else
+			local PROJECTURL="git://git.lede-project.org/source.git"
+		fi
+		write_page "        <p><em>Reproducible $PROJECTNAME</em> is an effort to apply this to $PROJECTNAME. Thus each $PROJECTNAME target is build twice, with a few varitations added and then the resulting images and packages from the two builds are compared using <a href=\"https://tracker.debian.org/diffoscope\">diffoscope</a>. $PROJECTNAME generates many different types of raw <code>.bin</code> files, and diffoscope does not know how to parse these. Thus the resulting diffoscope output is  [...]
 	elif [ "$1" = "NetBSD" ] ; then
 		write_page "        <p><em>Reproducible NetBSD</em> is an effort to apply this to NetBSD. Thus each NetBSD target is build twice, with a few varitations added and then the resulting files from the two builds are compared using <a href=\"https://tracker.debian.org/diffoscope\">diffoscope</a>. Please note that the toolchain is not varied at all as the rebuild happens on exactly the same system. More variations are expected to be seen in the wild.</p>"
 		local PROJECTNAME="netbsd"

-- 
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