~chipaca/snappy/snappy-tar-pack-mknod

« back to all changes in this revision

Viewing changes to partition/bootloader_grub.go

  • Committer: Snappy Tarmac
  • Author(s): Sergio Schvezov
  • Date: 2015-04-30 13:02:18 UTC
  • mfrom: (431.1.1 snappy)
  • Revision ID: snappy_tarmac-20150430130218-u0nq1d081lbtyuli
Marking the ab partition on successful boots in case we come back from a broken boot by sergiusens approved by mvo

Show diffs side-by-side

added added

removed removed

Lines of Context:
139
139
        if err := g.unsetBootVar(bootloaderGrubTrialBootVar); err != nil {
140
140
                return err
141
141
        }
 
142
 
 
143
        if err := g.setBootVar(bootloaderRootfsVar, g.currentRootfs); err != nil {
 
144
                return err
 
145
        }
 
146
 
142
147
        return g.setBootVar(bootloaderBootmodeVar, bootloaderBootmodeSuccess)
143
148
}
144
149