From: Ian Campbell Date: Wed, 4 Sep 2013 16:36:29 +0000 (+0100) Subject: Debian: New host flag "no-di-kernel" X-Git-Tag: wip.xsm-13-actual.base~460^2~30 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=d385d15a2439a3ee9bbe5f73cb802e468ccfb896;p=people%2Fiwj%2Fosstest.git Debian: New host flag "no-di-kernel" 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?) --- diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index 91a300db..daa89b10 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 .= <