lp://qastaging/~smoser/curtin/trunk.run-in-chroot-revival
- Get this branch:
- bzr branch lp://qastaging/~smoser/curtin/trunk.run-in-chroot-revival
Branch merges
- Ryan Harper (community): Approve
- Server Team CI bot: Approve (continuous-integration)
-
Diff: 65 lines (+41/-0)2 files modifiedcurtin/util.py (+10/-0)
tests/unittests/test_util.py (+31/-0)
Related bugs
Related blueprints
Branch information
Recent revisions
- 421. By Scott Moser
-
add support for RunInChroot in curtin.util
In my merge committed to trunk in revno 404, we dropped 'RunInChroot'.
That method was being used from curthooks in maas-images project to
make a chrootable target. In order to support installation of old images
that depend on RunInChroot we need to add the method back.This does that by just utilizing ChrootableTarget. It also adds
a couple unit tests to ensure that this keeps working. - 420. By Ryan Harper
-
curtin.block: refactor clear_holders logic into block.clear_holders and cli cmd
Add block.clear_
holders, which provides the ability to cleanly shut down
storage layers on a device, allowing that device to be reformatted without
having to reboot the system.Introduce curtin command 'clear-holders' to provide an external
interface for this functionality. - 418. By Scott Moser
-
apt: fix bug in disable_suites if sources.list line is blank.
if disable_suites was provided with a sources.list that had blank
lines, it would throw a IndexError. This fixes that bug and adds
a unit test. - 417. By Scott Moser
-
vmtests: disable Wily in vmtests
Wily is out of service as of 2016-07-28. Disable wily tests, but
leave HWE-W kernel tests in place. - 416. By Scott Moser
-
Fix the unittests for test_apt_source.
The tests were written to use 'assert_called', which is only available
in mock versions 2.0. Because of this, the failure would only occur
in releases less than yakkety and not in 'tox'. - 415. By Scott Moser
-
get CURTIN_
VMTEST_ PARALLEL shown correctly in jenkins-runner output CURTIN_
VMTEST_ PARALLEL was not getting shown correctly unless it
was set in the environment. This will display it to the effective
value of the environment or --parallel flag.Also, change some quoting that vim highlighting didn't like.
- 414. By Scott Moser
-
fix vmtest check_file_
strippedline to strip lines before comparing My addition of load_collect_file and making check_file_
strippedline use it
caused errors. This actually strips the lines now before the comparison. - 413. By Scott Moser
-
fix whitespace damage in tests/vmtests/
__init_ _.py revno 412 introduced some whitespace damage.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://qastaging/~curtin-dev/curtin/trunk