From: Ian Jackson Date: Wed, 13 Feb 2019 17:05:20 +0000 (+0000) Subject: backports snapshot: Disable apt timestamp checking (sometimes) X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=86bbd176b11092cf2e2c0ca856c3d9482460a484;p=osstest.git backports snapshot: Disable apt timestamp checking (sometimes) In jessie and earlier, this has to be done with a global option. In later releases, it can be done by putting some options in [ ] in the relevant sources list entry. Signed-off-by: Ian Jackson --- diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index 5e74e86..c1e7502 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -951,6 +951,19 @@ sub preseed_backports_packages ($$$$@) { my $apt_insert=''; my $extra_rune=''; + if ($suite =~ m/wheezy|jessie/) { + # this has global effect, unfortunately + $extra_rune = <\$d/50osstestsnapshot <