[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Debian live: be more verbose
Holger Levsen (@holger)
gitlab at salsa.debian.org
Wed Sep 14 16:11:51 BST 2022
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
cb071818 by Holger Levsen at 2022-09-14T17:11:36+02:00
reproducible Debian live: be more verbose
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/reproducible_debian_live_build.sh
Changes:
=====================================
bin/reproducible_debian_live_build.sh
=====================================
@@ -85,6 +85,8 @@ cleanup() {
#
# main: follow https://wiki.debian.org/ReproducibleInstalls/LiveImages
#
+# Randomize start time
+delay_start
# Argument 1 = image type
export CONFIGURATION="$1"
@@ -97,6 +99,7 @@ if [ -z "${CONFIGURATION}" -o -z "${DEBIAN_VERSION}" ]; then
output_echo "Error: Bad command line arguments."
exit 1
fi
+output_echo "Info: Building Debian live-build for $CONFIGURATION / $DEBIAN_VERSION"
# Configuration option: Select the server for the repository
# Allowed values:
@@ -108,6 +111,7 @@ fi
export REPOSERVER=auto
if [ "${REPOSERVER}" == "auto" ]; then
+ output_echo "Info: Detecting whether to use snapshot.notset.fr or deb.debian.org"
set +e # We are interested in the return value
wget --quiet --no-hsts http://snapshot.notset.fr/mr/timestamp/debian/latest --output-document latest
RETURNVALUE=$?
@@ -131,9 +135,6 @@ else
export WGET_OPTIONS=--quiet
fi
-# Randomize start time
-delay_start
-
# Generate and use an isolated workspace
export PROJECTNAME="live-build"
mkdir -p /srv/workspace/live-build
@@ -142,6 +143,7 @@ cd ${BUILDDIR}
export RESULTSDIR=$(mktemp --tmpdir=/srv/reproducible-results -d -t ${PROJECTNAME}-${CONFIGURATION}-${DEBIAN_VERSION}-XXXXXXXX) # accessible in schroots, used to compare results
# Fetch the rebuild script (and nothing else)
+output_echo "Fetching the rebuild script."
git clone https://salsa.debian.org/live-team/live-build.git rebuild_script --no-checkout --depth 1
cd rebuild_script
git checkout HEAD test/rebuild.sh
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/cb071818e381192406cc99dbe46faab4eb9695f5
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/cb071818e381192406cc99dbe46faab4eb9695f5
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/20220914/ce807fc6/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list