mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-17 08:53:26 +00:00
pkgs: spec do not check for 'not in final'
Do not check for 'not in final' in spec creation, the logic to fully validate is longer that just one grep. Next should: Use the same script build-kernel.sh to generate spec and validate it. For now is still safe as CI will run all the build-kernels.sh to verify the resulting config. Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
This commit is contained in:
parent
2e3b090762
commit
4a3ad8a8b8
@ -83,9 +83,7 @@ BuildKernel() {
|
|||||||
if [ ! -f .config ]; then
|
if [ ! -f .config ]; then
|
||||||
# Use fragments to generate the .config
|
# Use fragments to generate the .config
|
||||||
frag_dir="kata-kernel-configs/fragments"
|
frag_dir="kata-kernel-configs/fragments"
|
||||||
err_msg="not in final"
|
KCONFIG_CONFIG=.config ARCH=${kernelArch} scripts/kconfig/merge_config.sh -r -n ${frag_dir}/common/*.conf ${frag_dir}/${kernelArch}/*
|
||||||
r="$(KCONFIG_CONFIG=.config ARCH=${kernelArch} scripts/kconfig/merge_config.sh -r -n ${frag_dir}/common/*.conf ${frag_dir}/${kernelArch}/* | grep "${err_msg}")" || true
|
|
||||||
[ -z "${r}" ] || (echo "ERROR: ${r}"; exit 1)
|
|
||||||
fi
|
fi
|
||||||
[ -f .config ] || (echo "ERROR: cannot find the kernel config file for the ${kernelArch} architecture"; exit 1)
|
[ -f .config ] || (echo "ERROR: cannot find the kernel config file for the ${kernelArch} architecture"; exit 1)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user