[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible OpenWrt: document that every build is done with umask 0022

Holger Levsen gitlab at salsa.debian.org
Fri Oct 5 01:07:07 BST 2018


Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
2b3738a1 by Holger Levsen at 2018-10-05T00:06:56Z
reproducible OpenWrt: document that every build is done with umask 0022

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


2 changed files:

- bin/reproducible_common.sh
- bin/reproducible_openwrt.sh


Changes:

=====================================
bin/reproducible_common.sh
=====================================
@@ -513,7 +513,11 @@ write_variation_table() {
 			# FIXME: collect information about arch build nodes in /srv/reproducible-results/node-information/ and include this here
 			write_page "<tr><td>kernel version</td><td colspan=\"2\"> is varied between rebuilds of $1.</td></tr>"
 		fi
-		write_page "<tr><td>umask</td><td>0022<td>0002</td><tr>"
+		if [ "$1" = "OpenWrt" ] ; then
+			write_page "<tr><td>umask</td><td>0022<td>0002</td><tr>"
+		else
+			write_page "<tr><td colspan=\"2\">is always set to 0022 by the OpenWrt build system.</td><tr>"
+		fi
 	else
 		write_page "<tr><td>FreeBSD kernel version</td><td colspan=\"2\"> is not yet varied between rebuilds of $1.</td></tr>"
 		write_page "<tr><td>umask</td><td colspan=\"2\"> is not yet varied between rebuilds of $1.</td><tr>"


=====================================
bin/reproducible_openwrt.sh
=====================================
@@ -203,9 +203,6 @@ openwrt_apply_variations() {
 		export LC_ALL="fr_CH.UTF-8"
 		export PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path"
 		export CAPTURE_ENVIRONMENT="I capture the environment"
-		# needs to fix openwrt ;)
-		# umask 0002
-
 		# use allmost all cores for second build
 		export NEW_NUM_CPU=$(echo "$NUM_CPU-1" | bc)
 		export MAKE=make



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/2b3738a1217d308facda3dd28fad53bed7d2db59

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/2b3738a1217d308facda3dd28fad53bed7d2db59
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20181005/ade51264/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list