~chad.smith/curtin:error-logs-tarfile

Last commit made on 2018-01-30
Get this branch:
git clone -b error-logs-tarfile https://git.launchpad.net/~chad.smith/curtin
Only Chad Smith can upload to this branch. If you are Chad Smith please log in for upload directions.

Branch merges

Branch information

Name:
error-logs-tarfile
Repository:
lp:~chad.smith/curtin

Recent commits

7c989d6... by Chad Smith

revert doc whitespace change around dd-img

13114da... by Chad Smith

drop save_error_tarfile from docs

1a385f7... by Chad Smith

revert driveby doc change dd-img -> dd-raw

1864c9d... by Chad Smith

resolve rebase conflicts. Provide error_tarfile None to test_pack unit test to avoid triggering leaked sudo on create_log_tarfile() call during test error condition

b99e2cf... by Chad Smith

lint

9cd0ae1... by Chad Smith

drop save_error_tarfile as we won't get to a properly installed save target if curtin errors. Avoid subp sudo leak in test_pack during error_log collection by providing error_tarfile = None so error logs aren't created. Adapt save_tarfile unit test to instead test error_tarfile None

b0473cf... by Chad Smith

rename _create_tarfile as public function create_log_tarfile

08c9060... by Chad Smith

add unit tests for configuring and writing error tarfiles from cmd_install. Use deepcopy for CONFIG_BUILTIN to avoid manipulating the deep source dict in unit tests. Pull workind creation up dd_images error check as raised ValueError results in a traceback in 'finally' when trying to reference undeclared variable workingd.

63018ff... by Chad Smith

fix docs which mentiond unsupported dd-img in examples instead of dd-raw

ecc5dd2... by Chad Smith

add install:error_tarfile and save_error_tarfile options to auto-collect logs upon curtin error