Merge lp:~sergiusens/snappy/noUselessUpdate into lp:~snappy-dev/snappy/15.04-deprecated
| Status: | Merged |
|---|---|
| Approved by: | Sergio Schvezov on 2015-07-14 |
| Approved revision: | 461 |
| Merged at revision: | 460 |
| Proposed branch: | lp:~sergiusens/snappy/noUselessUpdate |
| Merge into: | lp:~snappy-dev/snappy/15.04-deprecated |
| Diff against target: |
50 lines (+30/-6) 1 file modified
snappy/systemimage.go (+30/-6) |
| To merge this branch: | bzr merge lp:~sergiusens/snappy/noUselessUpdate |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Michael Vogt | 2015-07-14 | Approve on 2015-07-14 | |
|
Review via email:
|
|||
Commit Message
Only update bootloader files on newer versions or channel changes.
Description of the Change
Sorry, no tests, I started to look but it felt like too much. This will not fix versions in the past btw, hence the ./snappy from version 3 that follows ;-)
(BeagleBoneBlac
Name Date Version Developer
ubuntu-core 2015-06-10 3 ubuntu*
ubuntu-core 2015-07-13 4 ubuntu
beagleblack 2015-07-14 1.8 *
(BeagleBoneBlac
baae473daca1d9f
(BeagleBoneBlac
c42761096016a6a
(BeagleBoneBlac
462b31071b9f41c
(BeagleBoneBlac
b4423a1dc0411a3
(BeagleBoneBlac
Installing ubuntu-core (4)
Starting download of ubuntu-core
6.96 KB / 6.96 KB [======
Apply done
Updating boot files
6.96 KB / 6.96 KB [======
Done
Name Date Version Developer
ubuntu-core 2015-07-13 4 ubuntu!
Reboot to use the new ubuntu-core.
(BeagleBoneBlac
baae473daca1d9f
(BeagleBoneBlac
c42761096016a6a
(BeagleBoneBlac
462b31071b9f41c
(BeagleBoneBlac
b4423a1dc0411a3
| Michael Vogt (mvo) wrote : | # |
- 461. By Sergio Schvezov on 2015-07-14
-
Use VersionCompare for proper version comparisons
| Michael Vogt (mvo) wrote : | # |
Thanks a bunch! Nice work and nice finding! I guess I mentioned that I dislike the SyncbootloaderFiles and here is another reason why :) Fortunately we will get rid of it with the OS/kernel snaps (AFAICT at least).
| Sergio Schvezov (sergiusens) wrote : | # |
> Thanks a bunch! Nice work and nice finding! I guess I mentioned that I dislike
> the SyncbootloaderFiles and here is another reason why :) Fortunately we will
> get rid of it with the OS/kernel snaps (AFAICT at least).
Thanks, it is indeed an issue, also related to the fact that we are using system image here for something it wasn't designed for (going backwards and forwards again).
| Michael Vogt (mvo) wrote : | # |
I did not manage to add tests for this today, but feel free to land it, the code looks fine and its a improvement over what we have.


Thanks for working on this, this is great! I will look into adding tests soon. One inline thing that I can probably answer once I added tests.