blob: 39ab0dd7e8d0b8ad4407bcb7512553b5c5657c32 [file] [log] [blame]
#!/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