| #!/usr/bin/python |
| # |
| # Copyright 2007 Google Inc. Released under the GPL v2 |
| |
| """This module defines the Grub class. |
| |
| Implementation details: |
| You should import the "hosts" package instead of importing this module directly. |
| |
| Grub: a particular Bootloader |
| """ |
| |
| __author__ = """[email protected] (Martin J. Bligh), |
| [email protected] (Benjamin Poirier), |
| [email protected] (Ryan Stutsman)""" |
| |
| |
| import bootloader |
| |
| |
| class Grub(bootloader.Bootloader): |
| """This class represents the GRUB bootloader. |
| |
| It can be used to add a kernel to the list of kernels that can be |
| booted. It can also make sure that this kernel will be the one |
| chosen at next reboot. |
| |
| Implementation details: |
| This is a leaf class in an abstract class hierarchy, it must |
| implement the unimplemented methods in parent classes. |
| """ |
| |
| pass |
| |