Merge lp:~mvo/snappy/experimental-simplify-the-upgrader-script into lp:~snappy-dev/snappy/snappy-moved-to-github
| Status: | Superseded |
|---|---|
| Proposed branch: | lp:~mvo/snappy/experimental-simplify-the-upgrader-script |
| Merge into: | lp:~snappy-dev/snappy/snappy-moved-to-github |
| Prerequisite: | lp:~mvo/snappy/si-progress |
| Diff against target: | 440 lines (+174/-44) 5 files modified snappy/progress.go (+22/-8) snappy/progress_test.go (+32/-0) snappy/snapp.go (+1/-1) snappy/systemimage.go (+62/-21) snappy/systemimage_test.go (+57/-14) |
| To merge this branch: | bzr merge lp:~mvo/snappy/experimental-simplify-the-upgrader-script |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Michael Vogt | Pending | ||
| Review via email: | |||
This proposal supersedes a proposal from 2015-01-29.
Description of the change
This branch might be interessting to simplfy the way that ubuntu-
works. The idea is that the DownloadUpdate() call is run with the other
partition mounted RW (DownloadUpdate will also apply the update so its
probably a good idea to update the name to reflect this fact).
This should in turn make the ubuntu-
us to remove all the mount/unmount logic in there as this is hanlded by
snappy already and it move the responsibility of all this into a single
component (partition.go). We still need to ensure that "sync_partition()"
is called of course in ubuntu-
right now AFAICS).
Unmerged revisions
- 132. By Michael Vogt
-
merged lp:snappy and resolved conflicts
- 131. By Michael Vogt
-
Run "DownloadUpdate()" with the other partition mounted RW. This should
allow us to simplify the ubuntu-core-upgrader script significantly by
removing all the mount/umount logic there (making _cmd_mount/_cmd_umount
no-ops). The only catch is that the empty-parititon detection needs to
be done still of course.
