Commit afd0af42 authored by hark's avatar hark
Browse files

check for config

parent 6af92e68
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
export WORKDIR=/root/kernelbuilder export WORKDIR=/root/kernelbuilder
export KERNELDIR=/etc/xen/boot export KERNELDIR=/etc/xen/boot
export KERNELCONFIG=/root/kernel_config_4.18.11.txt export KERNELCONFIG=$WORKDIR/config_latest.kconf
export KERNELVERSION=4.18.11 export KERNELVERSION=4.20.15
./check_kernel.sh /usr/local/bin/check_kernel.sh
./build_kernel.sh /usr/local/bin/build_kernel.sh
...@@ -27,6 +27,8 @@ define buildkernel::kernel ( ...@@ -27,6 +27,8 @@ define buildkernel::kernel (
File['/usr/local/bin/check_kernel.sh'], File['/usr/local/bin/check_kernel.sh'],
File[$kernel_workdir], File[$kernel_workdir],
File[$kernel_kerneldir], File[$kernel_kerneldir],
File["$kernel_workdir/config_$kernel_version.kconf"],
], ],
# onlyif => "/usr/local/bin/check_kernel.sh", # onlyif => "/usr/local/bin/check_kernel.sh",
environment => ["WORKDIR=${kernel_workdir}", environment => ["WORKDIR=${kernel_workdir}",
...@@ -45,6 +47,8 @@ define buildkernel::kernel ( ...@@ -45,6 +47,8 @@ define buildkernel::kernel (
File['/usr/local/bin/check_kernel.sh'], File['/usr/local/bin/check_kernel.sh'],
File[$kernel_workdir], File[$kernel_workdir],
File[$kernel_kerneldir], File[$kernel_kerneldir],
File["$kernel_workdir/config_$kernel_version.kconf"],
], ],
# onlyif => "/usr/local/bin/check_kernel.sh", # onlyif => "/usr/local/bin/check_kernel.sh",
environment => ["WORKDIR=${kernel_workdir}", environment => ["WORKDIR=${kernel_workdir}",
......
Supports Markdown
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