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

[Xen-devel] [PATCH 09/10] 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?)
---
 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 .= <<END;
+d-i anna/no_kernel_modules boolean true
+d-i base-installer/kernel/skip-install boolean true
+d-i nobootloader/confirmation_common boolean true
+END
+    }
+
     $preseed_file .= "$c{DebianPreseed}\n";
 
     foreach my $name (keys %{ $xopts{Properties} }) {
-- 
1.7.10.4


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


 


Rackspace

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