mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-02-23 07:24:24 +01:00
Merge pull request #1375 from fidencio/wip/fix-build-kernel
kernel: Don't fail if "experimental" dir doesn't exist
This commit is contained in:
@@ -188,7 +188,12 @@ get_kernel_frag_path() {
|
||||
local arch_configs="$(ls ${arch_path}/*.conf)"
|
||||
# Exclude configs if they have !$arch tag in the header
|
||||
local common_configs="$(grep "\!${arch}" ${common_path}/*.conf -L)"
|
||||
local experimental_configs="$(ls ${common_path}/experimental/*.conf)"
|
||||
|
||||
local experimental_configs=""
|
||||
local experimental_dir="${common_path}/experimental"
|
||||
if [ -d "$experimental_dir" ]; then
|
||||
experimental_configs=$(find "$experimental_dir" -name '*.conf')
|
||||
fi
|
||||
|
||||
# These are the strings that the kernel merge_config.sh script kicks out
|
||||
# when it reports an error or warning condition. We search for them in the
|
||||
|
||||
Reference in New Issue
Block a user