[Merge] lp:~jamesodhunt/goget-ubuntu-touch/record-sideload into lp:goget-ubuntu-touch
James Hunt
james.hunt at canonical.com
Wed Apr 15 20:18:30 UTC 2015
James Hunt has proposed merging lp:~jamesodhunt/goget-ubuntu-touch/record-sideload into lp:goget-ubuntu-touch.
Commit message:
* Record sideloads to ensure "snappy update" doesn't try to upgrade a system that uses custom assets.
Requested reviews:
PS Jenkins bot (ps-jenkins): continuous-integration
Sergio Schvezov (sergiusens)
For more details, see:
https://code.launchpad.net/~jamesodhunt/goget-ubuntu-touch/record-sideload/+merge/256190
* Record sideloads to ensure "snappy update" doesn't try to upgrade a system that uses custom
assets.
Creates a stamp file on the writable partition when --device-part= is specified. This is clearly trivial to defeat, but will allow snappy to refuse to update a system with such a stamp file.
There is a potential gotcha with this approach (albeit unlikely for anyone to hit it): if u-d-f is used to first download the set of s-i tar files and then u-d-f is called again with --device-part= pointing to the valid, official device part just downloaded, the stamp will still be created.
--
Your team Ubuntu Phablet Team is subscribed to branch lp:goget-ubuntu-touch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: review-diff.txt
Type: text/x-diff
Size: 2613 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-reviews/attachments/20150415/9fffcb9b/attachment.diff>
More information about the Ubuntu-reviews
mailing list