[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [OSSTEST PATCH 5/4] backports snapshot: Disable apt timestamp checking in right place



We need to put this in /target or it does not take effect.

Yesterday's 4 patches worked yesterday but not today, because the
snapshot in question in fact expired in between.  With this additional
patch they work today too.

Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 Osstest/Debian.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm
index c1e75020..17dfef54 100644
--- a/Osstest/Debian.pm
+++ b/Osstest/Debian.pm
@@ -954,7 +954,7 @@ sub preseed_backports_packages ($$$$@) {
        if ($suite =~ m/wheezy|jessie/) {
            # this has global effect, unfortunately
            $extra_rune = <<END;
-d=/etc/apt/apt.conf.d
+d=/target/etc/apt/apt.conf.d
 mkdir -p \$d
 cat >\$d/50osstestsnapshot <<EOF
 Acquire::Check-Valid-Until false;
-- 
2.11.0


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.