mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-25 15:02:45 +00:00
kernel: Always apply whitelist
The whitelist contains options that we dont really care. Always apply it, irrespective of if we are using an experimental kernel. Signed-off-by: Archana Shinde <archana.m.shinde@intel.com>
This commit is contained in:
parent
8cf66ce86b
commit
17d86c3c14
@ -201,10 +201,8 @@ get_kernel_frag_path() {
|
|||||||
results=$( ${cmdpath} -r -n ${all_configs} )
|
results=$( ${cmdpath} -r -n ${all_configs} )
|
||||||
# Only consider results highlighting "not in final"
|
# Only consider results highlighting "not in final"
|
||||||
results=$(grep "${not_in_string}" <<< "$results")
|
results=$(grep "${not_in_string}" <<< "$results")
|
||||||
# Do not care about options that are in whitelist if using experimental kernel
|
# Do not care about options that are in whitelist
|
||||||
if [[ ${experimental_kernel} == "true" ]]; then
|
results=$(grep -v -f ${default_config_whitelist} <<< "$results")
|
||||||
results=$(grep -v -f ${default_config_whitelist} <<< "$results")
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Did we request any entries that did not make it?
|
# Did we request any entries that did not make it?
|
||||||
local missing=$(echo $results | grep -v -q "${not_in_string}"; echo $?)
|
local missing=$(echo $results | grep -v -q "${not_in_string}"; echo $?)
|
||||||
|
Loading…
Reference in New Issue
Block a user