This patch adds bootloader functionality to autoserv:

From: Benjamin Poirier <poirier@google.com>
Signed-off-by: Martin J. Bligh <mbligh@google.com>

* removed Lilo and Grub classes
* Bootloader uses boottool, boottool support brought in from autotest, get_title(), get_info() improved, add_kernel() has 'default' parameter to add an entry and make it the default one in one simple step
* Kernel has new methods to ease installation, get_version(), get_initrd_name() and get_image_name()
* DEBKernel changed to implement those method and call the host's bootloader during install()

Installing and booting .deb kernel now works.
Example usage:

rh= hosts.SSHHost("192.168.0.1")

print rh.run("uname -a").stdout

kernel= deb_kernel.DEBKernel()
kernel.get("/home/poirier/linux-2.6.22_2.6.22_amd64.deb")

kernel.install(rh)

rh.reboot()
rh.wait_up()

print rh.run("uname -a").stdout

Credit goes to Ryan for bringing in boottool support.



git-svn-id: http://test.kernel.org/svn/autotest/trunk@574 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/server/kernel.py b/server/kernel.py
index db6762a..998eae9 100644
--- a/server/kernel.py
+++ b/server/kernel.py
@@ -28,4 +28,11 @@
 	must not instantiate this class but should instantiate one of those 
 	leaf subclasses."""
 	
-	pass
+	def get_version():
+		pass
+	
+	def get_image_name():
+		pass
+	
+	def get_initrd_name():
+		pass