From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: [PATCH 09/10] Debian: New host flag "no-di-kernel" Date: Wed, 4 Sep 2013 17:58:22 +0100 Message-ID: <1378313903-10539-9-git-send-email-ian.campbell@citrix.com> References: <1378313870.17510.172.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1378313870.17510.172.camel@kazak.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: ian.jackson@eu.citrix.com Cc: Ian Campbell , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org This squashes the installers messages about not being able to find kernel module udebs in the archive for the kernel running the installer. This will likely be the case if the need-kernel-deb-foo flag is used (perhaps this functionality could be keyed off this instead?) --- Osstest/Debian.pm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index 91a300d..daa89b1 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -599,6 +599,14 @@ END (join ' && ', @{ $preseed_cmds{$di_key} }). "\n"; } + if ($ho->{Flags}{'no-di-kernel'}) { + $preseed_file .= <