Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.

Commit 84c9972

Browse files
committed
qat: Adapt test to the new deployment location
As the artefacts are being deployed at /opt/kata, we need to adapt the qat_test.sh accordingly. Fixes: #5537 Signed-off-by: Fabiano Fidêncio <[email protected]>
1 parent 96e88e2 commit 84c9972

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

integration/qat/qat_test.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ init() {
4949

5050
build_install_qat_image_and_kernel() {
5151
local osbuilder_dir="${GOPATH}/src/github.com/kata-containers/kata-containers/tools/osbuilder/dockerfiles/QAT"
52-
local kata_vmlinux_path="/usr/share/kata-containers/vmlinux.container"
53-
local config_file="/usr/share/defaults/kata-containers/configuration.toml"
54-
local kata_image_path="/usr/share/kata-containers/kata-containers.img"
52+
local kata_vmlinux_path="/opt/kata/share/kata-containers/vmlinux.container"
53+
local config_file="/opt/kata/share/defaults/kata-containers/configuration.toml"
54+
local kata_image_path="/opt/kata/share/kata-containers/kata-containers.img"
5555

5656
pushd "${osbuilder_dir}"
5757
sudo rm -rf output && mkdir -p output
@@ -115,7 +115,7 @@ run_test() {
115115
local docker_ssl_img="docker.io/library/openssl-qat-engine:latest"
116116
local vfio_dev=$(ls /dev/vfio/ | head -1)
117117
local qat_conf_dir="${GOPATH}/src/github.com/kata-containers/kata-containers/tools/osbuilder/dockerfiles/QAT/output/configs"
118-
local config_file="/usr/share/defaults/kata-containers/configuration.toml"
118+
local config_file="/opt/kata/share/defaults/kata-containers/configuration.toml"
119119

120120
sudo sed -i -e 's/^kernel_params =.*/kernel_params = "modules-load=usdm_drv,qat_c62xvf"/g' ${config_file}
121121

0 commit comments

Comments
 (0)