Merge lp:~sergiusens/phablet-tools/recovery_from_system_images into lp:phablet-tools
Proposed by
Sergio Schvezov
Status: | Merged |
---|---|
Approved by: | Sergio Schvezov |
Approved revision: | 178 |
Merged at revision: | 177 |
Proposed branch: | lp:~sergiusens/phablet-tools/recovery_from_system_images |
Merge into: | lp:phablet-tools |
Diff against target: |
107 lines (+27/-5) 4 files modified
debian/control (+1/-0) phabletutils/environment.py (+1/-1) phabletutils/fileutils.py (+12/-0) phabletutils/projects.py (+13/-4) |
To merge this branch: | bzr merge lp:~sergiusens/phablet-tools/recovery_from_system_images |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot | continuous-integration | Approve | |
Stéphane Graber | Approve | ||
Review via email: mp+183868@code.launchpad.net |
Commit message
Using device file from system image server to extract recovery instead of downloading the latest from cdimage.
Description of the change
Keep in mind that by accepting this, you are marking partitions/
I can add some magic to finding and extracting the right file, but this may as well be stable.
To post a comment you must log in.
Assuming this was tested, the code change looks good.
Note that in python3 python-tarfile supports opening xz-compressed files directly ("r:xz" mode) but I had reliability problems when doing that as part of the server work, so using lzma + uncompressed tarfile is probably safest at this point.