Merge lp:~jamesodhunt/snappy/install.yaml into lp:~snappy-dev/snappy/snappy-moved-to-github
| Status: | Superseded |
|---|---|
| Proposed branch: | lp:~jamesodhunt/snappy/install.yaml |
| Merge into: | lp:~snappy-dev/snappy/snappy-moved-to-github |
| Diff against target: |
535 lines (+365/-42) 9 files modified
partition/bootloader.go (+4/-0) partition/bootloader_grub.go (+4/-0) partition/bootloader_uboot.go (+4/-0) partition/partition.go (+15/-0) partition/partition_test.go (+4/-0) provisioning/provisioning.go (+127/-0) provisioning/provisioning_test.go (+165/-0) snappy/systemimage.go (+2/-18) snappy/systemimage_test.go (+40/-24) |
| To merge this branch: | bzr merge lp:~jamesodhunt/snappy/install.yaml |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Michael Vogt | Needs Information on 2015-04-24 | ||
| Sergio Schvezov | 2015-04-21 | Needs Fixing on 2015-04-21 | |
|
Review via email:
|
|||
This proposal has been superseded by a proposal from 2015-06-09.
Description of the Change
* snappy/
* snappy/
Change the sideload-detection strategy by having snappy parse an install.yaml file generated by the provisioning tool (ubuntu-
This MP should be considered in combination with:
https:/
| Sergio Schvezov (sergiusens) wrote : | # |
A couple more comments and questions
| James Hunt (jamesodhunt) wrote : | # |
Thanks for reviewing. Branch updated.
| James Hunt (jamesodhunt) wrote : | # |
...aaaaand updated again.
| Sergio Schvezov (sergiusens) wrote : | # |
a couple of comments
- 393. By James Hunt on 2015-04-21
-
* Sync with lp:snappy.
- 394. By James Hunt on 2015-04-23
-
* Change InstallYamlFile to a filename as the path is going to have to
bootloader-specific (due to grub's bind-mount).
* IsSideLoaded() (was SideLoadedSystem()) now takes a boot directory
argument. - 395. By James Hunt on 2015-04-23
-
* Sync with lp:snappy.
- 396. By James Hunt on 2015-04-23
-
* Comments.
- 397. By James Hunt on 2015-04-24
-
* provisioning/
provisioning. go: Comments.
* provisioning/provisioning_ test.go: Removed Version values to be
consistent with soon-to-be-current ubutu-device-flash(1) behaviour. - 398. By James Hunt on 2015-04-24
-
* Sync with lp:snappy.
| James Hunt (jamesodhunt) wrote : | # |
Hi Sergio - branch updated. Note that I haven't made the change to parseInstallYam
Maybe we can deal with further refactoring on a separate MP ? :)
| Michael Vogt (mvo) wrote : | # |
Just one drive by comment, looks good otherwise even though I am not happy that partition needs that interface addition. I guess its hard to solve without as there is no other place that the file could be put that is safe from a factory reset(?).
- 399. By James Hunt on 2015-05-01
-
* Sync with lp:snappy.
- 400. By James Hunt on 2015-05-01
-
* snappy/
systemimage_ test.go: Added back TestCannotUpdat eIfSideLoaded( )
to ensure Install() and Update() fail if the system is sideloaded.
| James Hunt (jamesodhunt) wrote : | # |
Thanks - branch updated.
> as there is no other place that the file could be put that is safe from a factory reset(?).
That's right.


it looks generally good, but I would prefer to have this in it's own package if possible