diff mbox

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

Message ID 1484914764-20861-33-git-send-email-ian.jackson@eu.citrix.com (mailing list archive)
State New, archived
Headers show

Commit Message

Ian Jackson Jan. 20, 2017, 12:19 p.m. UTC
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@eu.citrix.com>
---
 Osstest/Debian.pm | 5 +++++
 1 file changed, 5 insertions(+)
diff mbox

Patch

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