Skip to contentSkip to conversation

Wheezy

PATCH In review Ian Jackson 2 participants 20 messages Feb 11, 2014 – Apr 22, 2014

lore
Share & tools
lore
#0 lore raw

cover Wheezy

Workarounds for bugs and incompatibilities in wheezy:
01/12 ts-xen-build-prep: avoid lvextend segfault 10/12 ts-guests-nbd-mirror: set "oldstyle=true"

A bunch of bugfixes:
02/12 ts-kernel-build: force CONFIG_BLK_DEV_NBD=y 03/12 ts-host-install: set `IPAPPEND 2' (if 04/12 ts-xen-install: nodhcp: restructure 05/12 ts-xen-install: default the interface to the 06/12 TestSupport: break out target_run_apt 07/12 TestSupport: Suppress prompting by apt 08/12 ts-guests-nbd-mirror: purge old packages first 09/12 ts-guests-nbd-mirror: add checkaccessible test

And switch the default suite:
11/12 Debian: Switch to wheezy
12/12 make-flight: abolish special-casing of suite

#1 lore raw

PATCH 1/12 ts-xen-build-prep: avoid lvextend segfault (Debian #736173) with wheezy

---
 ts-xen-build-prep |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
ts-xen-build-prep +3 -1
index b395584..528d0a4 100755
@@ -133,7 +133,9 @@ sub lvextend1 ($$$) {
 
     my $stripes_free = $stripe_count * $stripe_minfree;
     $do_limit_pe->(\$stripes_free, 'striped');
-    if ($stripe_minfree && $stripe_count>1) {
+    if ($stripe_minfree && $stripe_count>1
+	&& $ho->{Suite} !~ m/wheezy/ # bugs.debian.org/736173
+	) {
         overall_limit_pe(\$stripes_free);
         $more_pe += $stripes_free;
         target_cmd_root($ho, "lvextend -i$stripe_count -l +$stripes_free $lv");
Signature · 1 line
1.7.10.4
#2 lore raw

PATCH 2/12 ts-kernel-build: force CONFIG_BLK_DEV_NBD=y

In reply to Ian Jackson

Otherwise, with wheezy and Linux 3.4.77:

Jan 23 04:36:42 lake-frog nbd_client[4274]: Cannot open NBD: No such file or directory#012Please ensure the nbd module is loaded.
---
 ts-kernel-build |    4 ++++
 1 file changed, 4 insertions(+)
ts-kernel-build +4 -0
index 742d2b4..9b92ffc 100755
@@ -174,6 +174,10 @@ setopt CONFIG_EXT4_FS m
 setopt CONFIG_UFS_FS m
 setopt CONFIG_UFS_FS_WRITE y
 
+setopt CONFIG_BLK_DEV_NBD y
+# At least with Linux 3.4.77 on wheezy, the nbd module is
+# not loaded automatically.
+
 END
 
 our $config_features= <<END;
Signature · 1 line
1.7.10.4
#3 lore raw

PATCH 3/12 ts-host-install: set `IPAPPEND 2' (if interface isn't forced)

In reply to Ian Jackson

This causes BOOTIF=<mac-address> to appear on command line. This makes d-i use that interface. (See also Debian #615600.)

This is a better approach to interface name instability than setting the force interface host property.

---
 ts-host-install |    3 +++
 1 file changed, 3 insertions(+)
ts-host-install +3 -0
index 5c0018e..8e119ca 100755
@@ -174,8 +174,10 @@ sub setup_pxeboot_firstboot($) {
     system qw(rm -rf --),"$initrd_overlay.d";
     mkdir "$initrd_overlay.d" or die "$initrd_overlay.d: $!";
 
+    my $ipappend = 2;
     my $wantphysif= get_host_property($ho,'interface force','auto');
     if ($wantphysif ne 'auto') {
+	$ipappend = 0;
 	die "need Ether for $ho->{Name} ($wantphysif)"
 	    unless defined $ho->{Ether};
         system_checked(qw(mkdir -p --), "$initrd_overlay.d/etc/udev/rules.d");
@@ -219,6 +221,7 @@ label overwrite
 	menu default
 	kernel $kernel
 	append $installcmdline
+	ipappend $ipappend
 default overwrite
 END
 }
Signature · 1 line
1.7.10.4
#4 lore raw

PATCH 4/12 ts-xen-install: nodhcp: restructure

In reply to Ian Jackson

Move target_editfile_root to contain all the meat of the function. This is useful because we're going to possibly want to read the input interfaces file twice.

No functional change.

---
 ts-xen-install |   42 +++++++++++++++++++++++-------------------
 1 file changed, 23 insertions(+), 19 deletions(-)
ts-xen-install +23 -19
index fc96516..09c90ce 100755
@@ -206,33 +206,37 @@ END
 }
 
 sub nodhcp () {
-    my ($iface,$bridgex);
-    my $physif= get_host_property($ho,'interface force','eth0');
-    if ($initscripts_nobridge) {
-        $iface= 'xenbr0';
-        $bridgex= <<END;
+    target_editfile_root($ho, "/etc/network/interfaces",
+                         "etc-network-interfaces", sub {
+        my $physif= get_host_property($ho,'interface force',undef);
+
+	my ($iface,$bridgex);
+
+	if ($initscripts_nobridge) {
+	    $iface= 'xenbr0';
+	    $bridgex= <<END;
     bridge_ports $physif
     bridge_fd 0
     bridge_stp off
 END
-    } else {
-        $iface= $physif;
-        $bridgex= '';
-    }
+	} else {
+	    $iface= $physif;
+	    $bridgex= '';
+        }
 
-    my $routes= target_cmd_output_root($ho, "route -n");
+	my $routes= target_cmd_output_root($ho, "route -n");
 
-    $routes =~ m/^ [0-9.]+ \s+ 0\.0\.0\.0 \s+ ([0-9.]+) \s+ \S*U\S* \s /mxi
-        or die "no own local network in route ?  $routes ";
-    my $netmask= $1;
+	$routes =~ m/^ [0-9.]+ \s+ 0\.0\.0\.0 \s+ ([0-9.]+) \s+ \S*U\S* \s /mxi
+	    or die "no own local network in route ?  $routes ";
+	my $netmask= $1;
 
-    $routes =~ m/^ 0\.0\.0\.0 \s+ ([0-9.]+) \s+ 0\.0\.0\.0 \s+ \S*UG\S* \s /mxi
-        or die "no default gateway ?  $routes ";
-    my $gateway= $1;
+	$routes =~
+	    m/^ 0\.0\.0\.0 \s+ ([0-9.]+) \s+ 0\.0\.0\.0 \s+ \S*UG\S* \s /mxi
+	    or die "no default gateway ?  $routes ";
+	my $gateway= $1;
+
+	logm("iface $iface mask=$netmask gw=$gateway");
 
-    logm("iface $iface mask=$netmask gw=$gateway");
-    target_editfile_root($ho, "/etc/network/interfaces",
-                         "etc-network-interfaces", sub {
         my $suppress= 0;
         while (<EI>) {
             $suppress= 0 unless m/^\s+/;
Signature · 1 line
1.7.10.4
#5 lore raw

PATCH 5/12 ts-xen-install: default the interface to the one in /etc/network/interfaces

In reply to Ian Jackson

The default was simply eth0. This is the other piece of automatically coping with the boot interface not being eth0.

---
 ts-xen-install |   18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
ts-xen-install +18 -0
index 09c90ce..a1f5998 100755
@@ -22,6 +22,7 @@ use File::Path;
 use POSIX;
 use Osstest::Debian;
 use Osstest::TestSupport;
+use Data::Dumper;
 
 my $checkmode= 0;
 
@@ -210,6 +211,23 @@ sub nodhcp () {
                          "etc-network-interfaces", sub {
         my $physif= get_host_property($ho,'interface force',undef);
 
+	if (!defined $physif) {
+	    # preread /etc/network/interfaces to figure out the interface
+	    my %candidates;
+	    while (<EI>) {
+		next unless
+		    m{^ \s* (  auto \s+ (\S+)               ) \s* $}x ||
+		    m{^ \s* (  allow-hotplug \s+ (\S+)      ) \s* $}x ||
+		    m{^ \s* (  iface \s+ (\S+) \s+ inet \s+ ) \s* $}x ;
+		push @{ $candidates{$2} }, $1;
+	    }
+	    EI->error and die $!;
+	    delete $candidates{'lo'};
+	    die Dumper(\%candidates)." -- cannot determine default interface"
+		unless (scalar keys %candidates) == 1;
+	    ($physif,) = keys %candidates;
+	    seek EI,0,0 or die $!;
+	}
 	my ($iface,$bridgex);
 
 	if ($initscripts_nobridge) {
Signature · 1 line
1.7.10.4
#6 lore raw

Re: [OSSTEST PATCH 05/12] ts-xen-install: default the interface to the one in /etc/network/interfaces

Quoted 4 lines · Ian Jackson

The default was simply eth0. This is the other piece of automatically coping with the boot interface not being eth0.

I think/suspect this change is causing ts-xen-install to create me a bridge with bridge_ports == xenbr0 on the second time (i.e. when using a host).

I notice that the second half of this function explicitly suppresses xenbr0 -- perhaps this first half should do something similar?

(I haven't tried but I assume using the "interface force" host prop would fix this...)

Quoted 40 lines
---
 ts-xen-install |   18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
ts-xen-install +18 -0
index 09c90ce..a1f5998 100755
@@ -22,6 +22,7 @@ use File::Path;
 use POSIX;
 use Osstest::Debian;
 use Osstest::TestSupport;
+use Data::Dumper;
 
 my $checkmode= 0;
 
@@ -210,6 +211,23 @@ sub nodhcp () {
                          "etc-network-interfaces", sub {
         my $physif= get_host_property($ho,'interface force',undef);
 
+	if (!defined $physif) {
+	    # preread /etc/network/interfaces to figure out the interface
+	    my %candidates;
+	    while (<EI>) {
+		next unless
+		    m{^ \s* (  auto \s+ (\S+)               ) \s* $}x ||
+		    m{^ \s* (  allow-hotplug \s+ (\S+)      ) \s* $}x ||
+		    m{^ \s* (  iface \s+ (\S+) \s+ inet \s+ ) \s* $}x ;
+		push @{ $candidates{$2} }, $1;
+	    }
+	    EI->error and die $!;
+	    delete $candidates{'lo'};
+	    die Dumper(\%candidates)." -- cannot determine default interface"
+		unless (scalar keys %candidates) == 1;
+	    ($physif,) = keys %candidates;
+	    seek EI,0,0 or die $!;
+	}
 	my ($iface,$bridgex);
 
 	if ($initscripts_nobridge) {
#7 lore raw

Re: [OSSTEST PATCH 05/12] ts-xen-install: default the interface to the one in /etc/network/interfaces

Ian Campbell writes ("Re: [OSSTEST PATCH 05/12] ts-xen-install: default the interface to the one in /etc/network/interfaces"):

Quoted 12 lines · Ian Jackson
Quoted 4 lines

The default was simply eth0. This is the other piece of automatically coping with the boot interface not being eth0.

I think/suspect this change is causing ts-xen-install to create me a bridge with bridge_ports == xenbr0 on the second time (i.e. when using a host).

I notice that the second half of this function explicitly suppresses xenbr0 -- perhaps this first half should do something similar?

Yes, it probably should. Do you want to write the patch or shall I do it ?

Quoted 2 lines

(I haven't tried but I assume using the "interface force" host prop would fix this...)

Yes, it ought to.

Ian.

#8 lore raw

Re: [OSSTEST PATCH 05/12] ts-xen-install: default the interface to the one in /etc/network/interfaces

Quoted 11 lines · Ian Jackson

Ian Campbell writes ("Re: [OSSTEST PATCH 05/12] ts-xen-install: default the interface to the one in /etc/network/interfaces"):

Quoted 10 lines · Ian Jackson
Quoted 4 lines

The default was simply eth0. This is the other piece of automatically coping with the boot interface not being eth0.

I think/suspect this change is causing ts-xen-install to create me a bridge with bridge_ports == xenbr0 on the second time (i.e. when using a host).

Quoted 5 lines
Quoted 2 lines

I notice that the second half of this function explicitly suppresses xenbr0 -- perhaps this first half should do something similar?

Yes, it probably should. Do you want to write the patch or shall I do it ?

Looks like some funky Perl might be involved, so I'll leave it to you if that's ok...

Quoted 7 lines
Quoted 3 lines

(I haven't tried but I assume using the "interface force" host prop would fix this...)

Yes, it ought to.

Ian.

#9 lore raw

PATCH 1/3 ts-xen-install: nodhcp: Fix iface regexp

This regexp would never match because of the spurious $. Remove the

$ and also the preceding unnecessary \s*.
---
 ts-xen-install |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
ts-xen-install +1 -1
index 4a810e4..70e90ed 100755
@@ -221,7 +221,7 @@ sub nodhcp () {
 		next unless
 		    m{^ \s* (  auto \s+ (\S+)               ) \s* $}x ||
 		    m{^ \s* (  allow-hotplug \s+ (\S+)      ) \s* $}x ||
-		    m{^ \s* (  iface \s+ (\S+) \s+ inet \s+ ) \s* $}x ;
+		    m{^ \s* (  iface \s+ (\S+) \s+ inet \s+ ) }x ;
 		push @{ $candidates{$2} }, $1;
 	    }
 	    EI->error and die $!;
Signature · 1 line
1.7.10.4
#10 lore raw

PATCH 2/3 ts-xen-install: nohcp: Invert sense of interfaces loop

We are going to want to process other kinds of lines too. So change this loop around by inverting the condition and not using "next".

No functional change.

---
 ts-xen-install |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
ts-xen-install +5 -3
index 70e90ed..c59fdd3 100755
@@ -218,11 +218,13 @@ sub nodhcp () {
 	    # preread /etc/network/interfaces to figure out the interface
 	    my %candidates;
 	    while (<EI>) {
-		next unless
+		if (
 		    m{^ \s* (  auto \s+ (\S+)               ) \s* $}x ||
 		    m{^ \s* (  allow-hotplug \s+ (\S+)      ) \s* $}x ||
-		    m{^ \s* (  iface \s+ (\S+) \s+ inet \s+ ) }x ;
-		push @{ $candidates{$2} }, $1;
+		    m{^ \s* (  iface \s+ (\S+) \s+ inet \s+ ) }x
+		    ) {
+		    push @{ $candidates{$2} }, $1;
+		}
 	    }
 	    EI->error and die $!;
 	    delete $candidates{'lo'};
Signature · 1 line
1.7.10.4
#11 lore raw

PATCH 3/3 ts-xen-install: nodhcp: Make idempotent

In reply to Ian Jackson

If run more than once, this function would erroneously determine that xenbr0 was the primary physical interface name and try to enroll it into the bridge (also named xenbr0).

Instead, spot the "bridge_ports" line and use it to extract the physical interface name. Eliminate from consideration any interfaces matching xenbr\d+.

---
 ts-xen-install |   17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)
ts-xen-install +16 -1
index c59fdd3..4215ed3 100755
@@ -217,6 +217,7 @@ sub nodhcp () {
 	if (!defined $physif) {
 	    # preread /etc/network/interfaces to figure out the interface
 	    my %candidates;
+	    my @bridges;
 	    while (<EI>) {
 		if (
 		    m{^ \s* (  auto \s+ (\S+)               ) \s* $}x ||
@@ -225,10 +226,24 @@ sub nodhcp () {
 		    ) {
 		    push @{ $candidates{$2} }, $1;
 		}
+		if (
+			(
+			 (m{^ \s* iface \s+ (xenbr\w*) \s+ inet \s+ }x
+			      ? ((push @bridges, $1), 1) : 0)
+			 ...
+			 !m{^ [ \t] }x
+			)
+		    &&
+			m{^ \s+ bridge_ports \s+ (\S+) \s }x
+		    ) {
+		    push @{ $candidates{$1} }, "$bridges[$#bridges] $_";
+		}
 	    }
 	    EI->error and die $!;
 	    delete $candidates{'lo'};
-	    die Dumper(\%candidates)." -- cannot determine default interface"
+	    delete $candidates{$_} foreach @bridges;
+	    die Dumper(\%candidates, \@bridges).
+		" -- cannot determine default interface"
 		unless (scalar keys %candidates) == 1;
 	    ($physif,) = keys %candidates;
 	    seek EI,0,0 or die $!;
Signature · 1 line
1.7.10.4
Tested-by on v1 1/3
#12 lore raw

Re: [OSSTEST PATCH 1/3] ts-xen-install: nodhcp: Fix iface regexp

In reply to Ian Jackson
Quoted 4 lines · Ian Jackson

This regexp would never match because of the spurious $. Remove the

$ and also the preceding unnecessary \s*.

I've been running with this series in standalone mode on the system which I initially had this trouble with and it seems to be doing the right thing for both reused and freshly installed hosts.

Quoted 17 lines
---
 ts-xen-install |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
ts-xen-install +1 -1
index 4a810e4..70e90ed 100755
@@ -221,7 +221,7 @@ sub nodhcp () {
 		next unless
 		    m{^ \s* (  auto \s+ (\S+)               ) \s* $}x ||
 		    m{^ \s* (  allow-hotplug \s+ (\S+)      ) \s* $}x ||
-		    m{^ \s* (  iface \s+ (\S+) \s+ inet \s+ ) \s* $}x ;
+		    m{^ \s* (  iface \s+ (\S+) \s+ inet \s+ ) }x ;
 		push @{ $candidates{$2} }, $1;
 	    }
 	    EI->error and die $!;
#13 lore raw

PATCH 6/12 TestSupport: break out target_run_apt

In reply to Ian Jackson

We are going to add some environment variables to the apt invocation, so centralise where this happens. No functional change.

---
 Osstest/TestSupport.pm |   16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)
Osstest/TestSupport.pm +11 -5
index a513540..e546dc9 100644
@@ -56,6 +56,7 @@ BEGIN {
 		      target_putfilecontents_root_stash
                       target_put_guest_image
                       target_editfile_root target_file_exists
+                      target_run_apt
                       target_install_packages target_install_packages_norec
                       target_extract_jobdistpath target_guest_lv_name
 
@@ -416,16 +417,21 @@ sub target_putfile ($$$$;$) {
 sub target_putfile_root ($$$$;$) {
     tputfileex('root', @_);
 }
+sub target_run_apt {
+    my ($ho, $timeout, @aptopts) = @_;
+    target_cmd_root($ho,
+                    "apt-get @aptopts",
+                    $timeout);
+}
 sub target_install_packages {
     my ($ho, @packages) = @_;
-    target_cmd_root($ho, "apt-get -y install @packages",
-                    300 + 100 * @packages);
+    target_run_apt($ho, 300 + 100 * @packages,
+		   qw(-y install), @packages);
 }
 sub target_install_packages_norec {
     my ($ho, @packages) = @_;
-    target_cmd_root($ho,
-                    "apt-get --no-install-recommends -y install @packages",
-                    300 + 100 * @packages);
+    target_run_apt($ho, 300 + 100 * @packages,
+		   qw(--no-install-recommends -y install), @packages);
 }
 
 sub target_somefile_getleaf ($$$) {
Signature · 1 line
1.7.10.4
#14 lore raw

PATCH 7/12 TestSupport: Suppress prompting by apt

In reply to Ian Jackson

Always set DEBIAN_PRIORITY=critical UCF_FORCE_CONFFOLD=y in environment of apt, to suppress some prompts.

---
 Osstest/TestSupport.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Osstest/TestSupport.pm +1 -1
index e546dc9..545095f 100644
@@ -420,7 +420,7 @@ sub target_putfile_root ($$$$;$) {
 sub target_run_apt {
     my ($ho, $timeout, @aptopts) = @_;
     target_cmd_root($ho,
-                    "apt-get @aptopts",
+   "DEBIAN_PRIORITY=critical UCF_FORCE_CONFFOLD=y apt-get @aptopts",
                     $timeout);
 }
 sub target_install_packages {
Signature · 1 line
1.7.10.4
#15 lore raw

PATCH 8/12 ts-guests-nbd-mirror: purge old packages first

In reply to Ian Jackson

Purge any old nbd-client and nbd-server _before_ we make their config.

This only has any effect if the packages are installed before this script starts, which isn't the case in any of the automatically-run recipes. But it can occur when the script is being tested by hand.

---
 ts-guests-nbd-mirror |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
ts-guests-nbd-mirror +4 -2
index 89508dd..c0a021a 100755
@@ -52,6 +52,8 @@ sub findvols () {
 }
 
 sub configserver () {
+    target_cmd_root($sho, "dpkg --purge nbd-server ||:");
+
     my $scfg= <<END;
 # generated by $0
 [generic]
@@ -67,7 +69,6 @@ END
 END
     }
 
-    target_cmd_root($sho, "dpkg --purge nbd-server ||:");
     target_cmd_root($sho, "mkdir -p /etc/nbd-server");
     target_putfilecontents_root_stash($sho,10, $scfg,
         "/etc/nbd-server/config", "${srvhost}_nbd-server_config");
@@ -75,6 +76,8 @@ END
 }
 
 sub configclient () {
+    target_cmd_root($cho, "dpkg --purge nbd-client ||:");
+
     my $mydaemon= '/root/nbd-client-async';
     target_putfilecontents_root_stash($cho,10,<<'END',$mydaemon);
 #!/bin/sh
@@ -99,7 +102,6 @@ NBD_HOST[$v->{Ix}]=$sho->{Name}
 NBD_PORT[$v->{Ix}]=$v->{Port}
 END
     }
-    target_cmd_root($cho, "dpkg --purge nbd-client ||:");
     target_putfilecontents_root_stash($cho,10,$ccfg,"/etc/nbd-client");
     target_install_packages($cho, qw(nbd-client));
 }
Signature · 1 line
1.7.10.4
#16 lore raw

PATCH 9/12 ts-guests-nbd-mirror: add checkaccessible test

In reply to Ian Jackson

If the NBD devices are not properly accessible on the client, bomb out here rather than futilely starting a guest, and then timing out when the guest fails to boot because it can't find its root fs.

---
 ts-guests-nbd-mirror |   11 +++++++++++
 1 file changed, 11 insertions(+)
ts-guests-nbd-mirror +11 -0
index c0a021a..af200f4 100755
@@ -116,7 +116,18 @@ sub shuffleconfigs () {
     }
 }
 
+sub checkaccessible () {
+    foreach my $v (@vols) {
+	my $finfo = target_cmd_output_root($cho, "file -Ls $v->{Path}");
+	chomp $finfo;
+	logm("file(1) on $v->{Path}: $finfo");
+	die "unexpected contents for $v->{Path}, nbd failed?"
+	    unless $finfo =~ m/filesystem|swap/i;
+    }
+}
+
 findvols();
 configserver();
 configclient();
 shuffleconfigs();
+checkaccessible();
Signature · 1 line
1.7.10.4
#17 lore raw

PATCH 10/12 ts-guests-nbd-mirror: set "oldstyle=true"

In reply to Ian Jackson

Newer NBDs (wheezy's and later) need a config option to say we're using the old-style port-based addressing. At some point we will probably switch to using the new-style addressing, but not yet.

---
 ts-guests-nbd-mirror |    3 +++
 1 file changed, 3 insertions(+)
ts-guests-nbd-mirror +3 -0
index af200f4..ee7ff60 100755
@@ -59,6 +59,9 @@ sub configserver () {
 [generic]
     user = root
 END
+    $scfg .= <<END unless $sho->{Suite} =~ m/sarge|lenny|squeeze/;
+    oldstyle = true
+END
     foreach my $v (@vols) {
 	$v->{Port}= unique_incrementing_runvar("${srvhost}_nextport",4000);
 	$v->{Path}= "/dev/$v->{Gho}{Vg}/$v->{Lv}";
Signature · 1 line
1.7.10.4
#18 lore raw

PATCH 11/12 Debian: Switch to wheezy

In reply to Ian Jackson

From: Ian Jackson <[email protected]>

This involves updating the d-i version too.

---
 Osstest.pm        |    2 +-
 production-config |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Osstest.pm +1 -1
index 9ba2882..8df0c15 100644
@@ -59,7 +59,7 @@ our %c = qw(
     Logs logs
     Results results
 
-    DebianSuite squeeze
+    DebianSuite wheezy
     DebianMirrorSubpath debian
 
     TestHostKeypairPath id_rsa_osstest
production-config +1 -1
index a0e73cb..1ee0ba0 100644
@@ -71,7 +71,7 @@ TftpPxeDir /
 TftpPxeTemplates %ipaddrhex%/pxelinux.cfg
 
 TftpPxeGroup osstest
-TftpDiVersion 2013-09-23
+TftpDiVersion 2013-12-12
 
 XenUsePath /usr/groups/xencore/systems/bin/xenuse
 XenUseUser osstest
Signature · 1 line
1.7.10.4
#19 lore raw

PATCH 12/12 make-flight: abolish special-casing of suite for armhf

In reply to Ian Jackson

Since the suite is now wheezy by default this is no longer needed.

---
 mfi-common |    2 --
 1 file changed, 2 deletions(-)
mfi-common +0 -2
index 8f56092..a95703d 100644
@@ -79,7 +79,6 @@ create_build_jobs () {
     esac
 
     case "$arch" in
-    armhf) suite="wheezy";;
     *)     suite=$defsuite;;
     esac
 
@@ -267,7 +266,6 @@ test_matrix_iterate () {
     esac
 
     case "$xenarch" in
-    armhf) suite="wheezy";  guestsuite="wheezy";;
     *)     suite=$defsuite; guestsuite=$defguestsuite;;
     esac
 
Signature · 1 line
1.7.10.4