kernel: pull the actual kernel download and extract into an operation

Pull the actual kernel download and extract into its own operation.
Make this recorded so that we can see failures from it in the job log.

Signed-off-by: Andy Whitcroft <apw@shadowen.org>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@953 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/client/bin/kernel.py b/client/bin/kernel.py
index fd70728..7849ee9 100755
--- a/client/bin/kernel.py
+++ b/client/bin/kernel.py
@@ -102,6 +102,13 @@
 		else:
 			self.base_tree_version = None
 			
+		# Actually extract the tree.  Make sure we know it occured
+		self.extract(base_tree)
+
+
+	@logging.record
+	@tee_output_logdir_mark
+	def extract(self, base_tree):
 		if os.path.exists(base_tree):
 			self.get_kernel_tree(base_tree)
 		else: