Commit 6af92e68 authored by hark's avatar hark
Browse files

change name of Exec

parent 974eb635
......@@ -17,8 +17,29 @@ define buildkernel::kernel (
source => "puppet:///modules/$module_name/kconfig/${kernel_version}_${config_version}.kconf",
}
Exec { "Check kernel $kernel_version with config $config_version":
command => "/usr/local/bin/check_kernel.sh",
logoutput => true,
require => [
File['/usr/local/bin/build_kernel.sh'],
File['/usr/local/bin/check_kernel.sh'],
File[$kernel_workdir],
File[$kernel_kerneldir],
],
# onlyif => "/usr/local/bin/check_kernel.sh",
environment => ["WORKDIR=${kernel_workdir}",
"KERNELVERSION=${kernel_version}",
"KERNELCONFIG=${kernel_workdir}/config_${kernel_version}.kconf",
"KERNELDIR=${kernel_kerneldir}"],
timeout => 0,
}
Exec { "Build kernel $kernel_version with config $config_version":
command => "/usr/local/bin/build_kernel.sh",
logoutput => true,
Exec { "/usr/local/bin/build_kernel.sh":
require => [
File['/usr/local/bin/build_kernel.sh'],
File['/usr/local/bin/check_kernel.sh'],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment