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

[Xen-devel] [OSSTEST PATCH 32/35] d-i: backports: When using backports kernel for a host, install linux-base



Newer kernels may need a newer linux-base.  This call has the happy
side effect of adding backports to its sources.list, which is also
generally needed.

Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
---
 Osstest/Debian.pm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm
index f496354..0137fc4 100644
--- a/Osstest/Debian.pm
+++ b/Osstest/Debian.pm
@@ -1129,6 +1129,11 @@ END
        $kp = "need-kernel-deb-wheezy-backports" if $kp eq 
"need-kernel-deb-armmp";
        $kp =~ s/need-kernel-deb-$ho->{Suite}-// or next;
 
+       if ($kp eq 'backports') {
+           preseed_backports_packages($ho, $sfx, \%xopts, $suite,
+                                      qw(linux-base));
+       }
+
         my $cmds = <<END;
 #!/bin/sh
 set -ex
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

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