summaryrefslogtreecommitdiff
path: root/scripts/build/bootstrap_archive-keys
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/bootstrap_archive-keys')
-rwxr-xr-xscripts/build/bootstrap_archive-keys7
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/build/bootstrap_archive-keys b/scripts/build/bootstrap_archive-keys
index 4b9324f51..2bec20db5 100755
--- a/scripts/build/bootstrap_archive-keys
+++ b/scripts/build/bootstrap_archive-keys
@@ -71,7 +71,12 @@ do
rm -f chroot/key.asc chroot/key.asc.sig
done
-Chroot chroot "apt-get update"
+if [ -n "${LB_SNAPSHOT}" ]
+then
+ Chroot chroot "apt-get update -o Acquire::Check-Valid-Until=false"
+else
+ Chroot chroot "apt-get update"
+fi
# Creating stage file
Create_stagefile .build/bootstrap_archive-keys