[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible: Do not build u-boot arch:all on arm64 anymore either.

Vagrant Cascadian gitlab at salsa.debian.org
Sun Aug 30 00:17:46 BST 2020



Vagrant Cascadian pushed to branch master at Debian QA / jenkins.debian.net


Commits:
1fbb2799 by Vagrant Cascadian at 2020-08-29T16:13:14-07:00
reproducible: Do not build u-boot arch:all on arm64 anymore either.

- - - - -


1 changed file:

- bin/reproducible_build.sh


Changes:

=====================================
bin/reproducible_build.sh
=====================================
@@ -610,11 +610,16 @@ EOF
 	fi
 	DEBBUILDOPTS="-b"
 	BINARYTARGET=""
-	if [ "${ARCH}" = "armhf" ] && [ "${SRCPACKAGE}" = "u-boot" ]; then
-		# u-boot dependencies for arch:all on armhf are not available,
-		# as it uses cross-compilers for several architectures.
-		DEBBUILDOPTS="-B"
-		BINARYTARGET="--binary-arch"
+	if [ "${SRCPACKAGE}" = "u-boot" ]; then
+		# u-boot dependencies for arch:all on armhf/arm64 are not
+		# available, as it uses cross-compilers for several
+		# architectures.
+		case "${ARCH}" in
+			armhf|arm64)
+				DEBBUILDOPTS="-B"
+				BINARYTARGET="--binary-arch"
+				;;
+		esac
 	fi
 	set +e
 	# remember to change the sudoers setting if you change the following command
@@ -716,12 +721,16 @@ EOF
 	esac
 	DEBBUILDOPTS="-b"
 	BINARYTARGET=""
-	if [ "${ARCH}" = "armhf" ] && [ "${SRCPACKAGE}" = "u-boot" ]; then
-		# u-boot dependencies for arch:all on armhf are not
+	if [ "${SRCPACKAGE}" = "u-boot" ]; then
+		# u-boot dependencies for arch:all on armhf/arm64 are not
 		# available, as it uses cross-compilers for several
 		# architectures.
-		DEBBUILDOPTS="-B"
-		BINARYTARGET="--binary-arch"
+		case "${ARCH}" in
+			armhf|arm64)
+				DEBBUILDOPTS="-B"
+				BINARYTARGET="--binary-arch"
+				;;
+		esac
 	fi
 	set +e
 	# remember to change the sudoers setting if you change the following command



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/1fbb27993fa1d0e81521a301dbbb0ece769fd327

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/1fbb27993fa1d0e81521a301dbbb0ece769fd327
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/20200829/9f68019f/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list