summaryrefslogtreecommitdiffstats
path: root/vagrant
diff options
context:
space:
mode:
authorbertagaz <bertagaz@ptitcanardnoir.org>2017-12-27 18:48:29 +0100
committerbertagaz <bertagaz@ptitcanardnoir.org>2018-01-01 15:35:55 +0100
commitaafdf8da72df5e9ffdada2eabc920325a6e13520 (patch)
treea36c8958c6e938c738ab8d5f8b539d7e2b967f4b /vagrant
parentc61ac2f12a17b2752e93fc96439b32439e344ecc (diff)
Add APT_SNAPSHOT_SERIAL build option.
It enables to specify which time-based APT snapshot repositories will be used as 'latest' during the build, and will set it accordingly in the resulting ISO image. Useful to reproduce another ISO image. Refs: #15107, #14944, #14924
Diffstat (limited to 'vagrant')
-rwxr-xr-xvagrant/provision/assets/build-tails1
1 files changed, 1 insertions, 0 deletions
diff --git a/vagrant/provision/assets/build-tails b/vagrant/provision/assets/build-tails
index 6d7fae2..8ce6c1c 100755
--- a/vagrant/provision/assets/build-tails
+++ b/vagrant/provision/assets/build-tails
@@ -15,6 +15,7 @@ as_root_do() {
${ftp_proxy:+ftp_proxy="${ftp_proxy}"} \
${no_proxy:+no_proxy="${no_proxy}"} \
${MKSQUASHFS_OPTIONS:+MKSQUASHFS_OPTIONS="${MKSQUASHFS_OPTIONS}"} \
+ ${APT_SNAPSHOT_SERIAL:+APT_SNAPSHOT_SERIAL="${APT_SNAPSHOT_SERIAL}"} \
${TAILS_MERGE_BASE_BRANCH:+TAILS_MERGE_BASE_BRANCH="${TAILS_MERGE_BASE_BRANCH}"} \
${GIT_COMMIT:+GIT_COMMIT="${GIT_COMMIT}"} \
${GIT_REF:+GIT_REF="${GIT_REF}"} \