generic_stage_target: Split ._copy_kernel_config() from ._build_kernel()
authorW. Trevor King <wking@tremily.us>
Sat, 9 Feb 2013 20:45:34 +0000 (15:45 -0500)
committerMatt Turner <mattst88@gmail.com>
Sat, 23 Feb 2013 02:02:15 +0000 (18:02 -0800)
commit78ef6501495eff12cb9c121a7b90ab90be0cd83a
tree2e634de2a404c2479cdb088e8b13ea49c623a23c
parent62a252d096182147169f397f7bbea8330dfe3e1a
generic_stage_target: Split ._copy_kernel_config() from ._build_kernel()

_copy_kernel_config() is one idea with a bunch of error handling.
Isolating it in its own function makes _build_kernel() easier to read.

Reviewed-by: Matt Turner <mattst88@gmail.com>
modules/generic_stage_target.py