~jamesodhunt/snappy/log+syslog-logging

« back to all changes in this revision

Viewing changes to partition/bootloader_grub.go

  • Committer: Michael Vogt
  • Date: 2015-02-13 13:29:27 UTC
  • mfrom: (171 snappy)
  • mto: This revision was merged to the branch mainline in revision 172.
  • Revision ID: michael.vogt@ubuntu.com-20150213132927-5eyg71l1yysvw6ul
mergedĀ lp:snappy

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
const bootloaderNameGrub bootloaderName = "grub"
29
29
 
30
30
// newGrub create a new Grub bootloader object
31
 
func newGrub(partition *Partition) *grub {
 
31
func newGrub(partition *Partition) bootLoader {
32
32
        if !fileExists(bootloaderGrubConfigFile) || !fileExists(bootloaderGrubInstallCmd) {
33
33
                return nil
34
34
        }
35
 
        b := newBootloader(partition)
 
35
        b := newBootLoader(partition)
36
36
        if b == nil {
37
37
                return nil
38
38
        }