~jbicha/goget-ubuntu-touch/drop-old-arches

« back to all changes in this revision

Viewing changes to ubuntu-device-flash/snappy.go

  • Committer: Snappy Tarmac
  • Author(s): Sergio Schvezov
  • Date: 2015-09-15 18:41:37 UTC
  • mfrom: (209.1.1 goget-ubuntu-touch)
  • Revision ID: snappy_tarmac-20150915184137-wqw7s2d4j7qfdekn
Remove legacy grub handling (running of update-grub) by sergiusens approved by ricmm

Show diffs side-by-side

added added

removed removed

Lines of Context:
517
517
        loader := s.oem.OEM.Hardware.Bootloader
518
518
        switch loader {
519
519
        case "grub":
520
 
                legacyGrub := s.Positional.Release == "15.04"
521
 
                s.img = diskimage.NewCoreGrubImage(s.Output, s.size, s.flavor.rootSize(), s.hardware, s.oem, legacyGrub)
 
520
                s.img = diskimage.NewCoreGrubImage(s.Output, s.size, s.flavor.rootSize(), s.hardware, s.oem)
522
521
        case "u-boot":
523
522
                s.img = diskimage.NewCoreUBootImage(s.Output, s.size, s.flavor.rootSize(), s.hardware, s.oem)
524
523
        default: