[Qa-jenkins-scm] [jenkins.debian.net] 03/03: schroot-create: also here, set Acquite::Check-Valid-Until=false IIF we're in a "future host", instead of keying the setting to the "reproducible" flag
Mattia Rizzolo
mattia at debian.org
Thu Apr 5 15:23:09 UTC 2018
This is an automated email from the git hooks/post-receive script.
mattia pushed a commit to branch master
in repository jenkins.debian.net.
commit 6e8d47fa3e9674ca7286ef7817b199856665840c
Author: Mattia Rizzolo <mattia at debian.org>
Date: Thu Apr 5 17:22:20 2018 +0200
schroot-create: also here, set Acquite::Check-Valid-Until=false IIF we're in a "future host", instead of keying the setting to the "reproducible" flag
Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
bin/schroot-create.sh | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/bin/schroot-create.sh b/bin/schroot-create.sh
index 89855f5..2722f67 100755
--- a/bin/schroot-create.sh
+++ b/bin/schroot-create.sh
@@ -137,8 +137,10 @@ bootstrap() {
Acquire::Languages none;
__END__
- if $REPRODUCIBLE ; then
- echo "Configuring APT to ignore the Release file expiration..."
+ . /srv/jenkins/bin/jenkins_node_definitions.sh
+ get_node_ssh_port "$HOSTNAME"
+ if "$NODE_RUN_IN_THE_FUTURE" ; then
+ echo "This node is reported to run in the future, configuring APT to ignore the Release file expiration..."
echo 'Acquire::Check-Valid-Until "false";' | sudo tee -a $SCHROOT_TARGET/etc/apt/apt.conf.d/398future >/dev/null
fi
--
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