With recent changes to the kernel config selection, now we can omit the kernel configure file. So, only call the configure method if we have the config, otherwise let it default to the running config of our virtualization host.
Signed-off-by: Lucas Meneghel Rodrigues <[email protected]> --- client/virt/virt_utils.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/client/virt/virt_utils.py b/client/virt/virt_utils.py index 7c0f8be..717ea9c 100644 --- a/client/virt/virt_utils.py +++ b/client/virt/virt_utils.py @@ -3915,7 +3915,7 @@ def install_host_kernel(job, params): patch_list = params.get('host_kernel_patch_list') if patch_list: patch_list = patch_list.split() - kernel_config = params.get('host_kernel_config') + kernel_config = params.get('host_kernel_config', None) repodir = os.path.join("/tmp", 'kernel_src') r = git.get_repo(uri=repo, branch=branch, destination_dir=repodir, @@ -3923,7 +3923,8 @@ def install_host_kernel(job, params): host_kernel = job.kernel(r) if patch_list: host_kernel.patch(patch_list) - host_kernel.config(kernel_config) + if kernel_config: + host_kernel.config(kernel_config) host_kernel.build() host_kernel.install() host_kernel.boot() -- 1.7.10.1 _______________________________________________ Autotest mailing list [email protected] http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
