mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-28 20:15:51 +00:00
kernel: obs: fix kernel path
Fix path to kernel patches. Fixes: #505 Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
This commit is contained in:
@@ -27,7 +27,7 @@ KATA_CONFIG_VERSION=$(cat "${SCRIPT_DIR}/../../kernel/kata_config_version")
|
|||||||
|
|
||||||
KR_SERIES="$(echo $VERSION | cut -d "." -f 1).x"
|
KR_SERIES="$(echo $VERSION | cut -d "." -f 1).x"
|
||||||
KR_LTS=$(echo $VERSION | cut -d "." -f 1,2)
|
KR_LTS=$(echo $VERSION | cut -d "." -f 1,2)
|
||||||
ln -sfT "${SCRIPT_DIR}/../../kernel/patches-${KR_LTS}" "${SCRIPT_DIR}/patches"
|
ln -sfT "${SCRIPT_DIR}/../../kernel/patches/${KR_LTS}.x" "${SCRIPT_DIR}/patches"
|
||||||
|
|
||||||
KR_PATCHES=$(eval find "${SCRIPT_DIR}/patches" -type f -name "*.patch")
|
KR_PATCHES=$(eval find "${SCRIPT_DIR}/patches" -type f -name "*.patch")
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user