Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Config changes for 5.4 kernel #925

Merged
merged 2 commits into from
Feb 17, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions kernel/build-kernel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -201,10 +201,8 @@ get_kernel_frag_path() {
results=$( ${cmdpath} -r -n ${all_configs} )
# Only consider results highlighting "not in final"
results=$(grep "${not_in_string}" <<< "$results")
# Do not care about options that are in whitelist if using experimental kernel
if [[ ${experimental_kernel} == "true" ]]; then
results=$(grep -v -f ${default_config_whitelist} <<< "$results")
fi
# Do not care about options that are in whitelist
results=$(grep -v -f ${default_config_whitelist} <<< "$results")
egernst marked this conversation as resolved.
Show resolved Hide resolved

# Did we request any entries that did not make it?
local missing=$(echo $results | grep -v -q "${not_in_string}"; echo $?)
Expand Down
5 changes: 0 additions & 5 deletions kernel/configs/fragments/common/network.conf
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,6 @@ CONFIG_DEFAULT_BBR=y
CONFIG_TCP_MD5SIG=y
CONFIG_IPV6=y
CONFIG_IPV6_MULTIPLE_TABLES=y
# Once we move to 5.4, INET6_XFRM_MODE_* are not needed. I don't think these are actually needed, but
# for now we just place them in whitelist.conf:
CONFIG_INET6_XFRM_MODE_TRANSPORT=y
CONFIG_INET6_XFRM_MODE_TUNNEL=y
CONFIG_INET6_XFRM_MODE_BEET=y

CONFIG_STP=y
CONFIG_BRIDGE=y
Expand Down
3 changes: 0 additions & 3 deletions kernel/configs/fragments/whitelist.conf
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# configuration options which may dropped in newer kernels
# without generating an error in fragment merging
CONFIG_INET6_XFRM_MODE_BEET
CONFIG_INET6_XFRM_MODE_TRANSPORT
CONFIG_INET6_XFRM_MODE_TUNNEL
CONFIG_NF_NAT_IPV4
CONFIG_NF_NAT_NEEDED
CONFIG_NF_NAT_PROTO_DCCP
Expand Down
2 changes: 1 addition & 1 deletion kernel/kata_config_version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
64
65