mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-24 18:52:08 +00:00
packaging: add kernel modules dir
Create a directory where kernel modules will be extracted. Fixes: #6418 Signed-off-by: Unmesh Deodhar <udeodhar@amd.com>
This commit is contained in:
parent
7267237660
commit
9afa38f11b
@ -421,7 +421,8 @@ install_cached_kernel_component() {
|
||||
"kata-static-cc-sev-kernel-modules.tar.xz" \
|
||||
"${workdir}/kata-static-cc-sev-kernel-modules.tar.xz" \
|
||||
|| return 1
|
||||
|
||||
|
||||
mkdir -p "${module_dir}"
|
||||
tar xvf "${workdir}/kata-static-cc-sev-kernel-modules.tar.xz" -C "${module_dir}" && return 0
|
||||
|
||||
return 1
|
||||
|
Loading…
Reference in New Issue
Block a user