lp:~smoser/curtin/trunk.run-in-chroot-revival

Created by Scott Moser and last modified
Get this branch:
bzr branch lp:~smoser/curtin/trunk.run-in-chroot-revival
Only Scott Moser can upload to this branch. If you are Scott Moser please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Scott Moser
Project:
curtin
Status:
Merged

Recent revisions

422. By Scott Moser

fix tox, remove 'print'

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.

419. By Ryan Harper

curtin.apply_net should exit non-zero upon exception.

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:~curtin-dev/curtin/trunk
This branch contains Public information 
Everyone can see this information.

Subscribers