lp:~mvo/ubuntu/vivid/ubuntu-core-upgrader/add-test-tar-generator
- Get this branch:
- bzr branch lp:~mvo/ubuntu/vivid/ubuntu-core-upgrader/add-test-tar-generator
Branch merges
- James Hunt (community): Approve
- Ubuntu branches: Pending requested
-
Diff: 226 lines (+112/-85)2 files modifiedubuntucoreupgrader/tests/test_upgrader.py (+26/-0)
ubuntucoreupgrader/upgrader.py (+86/-85)
Branch information
- Owner:
- Michael Vogt
- Status:
- Development
Recent revisions
- 8. By Michael Vogt
-
ensure we do never hit the pipe size limit (and hang forever) and add test for this
- 7. By Michael Vogt
-
improve logging if ubuntu-
core-upgrader fails and provide
stdout/stderr in the exception - 6. By Steve Langasek
-
* Move this from the ppa to the main archive.
* Add Vcs-Bzr.[ James Hunt ]
* ubuntucoreupgrader/upgrader. py:
- tar_generator(): Permit unpack of assets/ directory to allow snappy to
install them (and clean up). - 5. By Michael Vogt
-
* do not fail hard on umount --lazy error
* support output of systemctrl status for both systemd 209 and 215 - 4. By James Hunt
-
* bin/ubuntu-
core-upgrade:
- Internal restructure to make testing easier.
- Added '--root-dir' and '--clean-only' options.
* man/ubuntu-core-upgrade. 1: Added '--root-dir' and '--clean-only'.
* ubuntucoreupgrader/parser. py:
- get_userdata_mounts( ): Reverse sort to handle child mounts first.
- get_affected_pids(): Discard stderr to ignore harmless warnings
which disrupt parsing.
- Honour '--tmpdir' now.
- Handle '--root-dir'.
- Made output more consistent. - 3. By James Hunt
-
* Added '--no-reboot' and '--reboot-delay' options.
* ubuntucoreupgrader/parser. py:
- tar_generator():
- Reworked to make logic clearer.
- Only ignore devices if they already exist.
- _update():
- Strip expected file prefix rather than just blindly removing first
element.
- Ignore relative paths.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:ubuntu/vivid/ubuntu-core-upgrader