diff options
| author | Michael Vogt <mvo@ubuntu.com> | 2018-05-28 15:38:53 +0200 |
|---|---|---|
| committer | Michael Vogt <mvo@ubuntu.com> | 2018-05-28 16:14:51 +0200 |
| commit | 38cb71185478220fce5a753bec9f4d5a1ce822ed (patch) | |
| tree | a5657bd8b4bcfabe4e29e300bcaf446244700c3c /tests/unit | |
| parent | 84d0f2257fc660c777c211be25e42d47a915a249 (diff) | |
boot: support snap.TypeBase for booting
In the past boot/kernel_os.go:SetNextBoot() would only look at the type: OS/Kernel to determine what to boot next. However with the addition of bootable bases we can now also boot from type base. In order to know which base to use for booting the bootloader code now inspects the snap name of the last good boot and if those do not match it will just ignore the snap.
Diffstat (limited to 'tests/unit')
0 files changed, 0 insertions, 0 deletions
