gpu: Add Arm64 Kernel Settings

For different archs we need diferent settings use ${ARCH} to choose
the right fragment

Signed-off-by: Zvonko Kaiser <zkaiser@nvidia.com>
This commit is contained in:
Zvonko Kaiser
2023-05-24 09:22:41 +00:00
parent 211b0ab268
commit b7932be4b6
4 changed files with 27 additions and 4 deletions

View File

@@ -256,7 +256,7 @@ get_kernel_frag_path() {
# -nvidia-gpu-{snp|tdx}, the linux headers will be named the very
# same if build with make deb-pkg for TDX or SNP.
local gpu_configs=$(mktemp).conf
local gpu_subst_configs="$(ls ${gpu_path}/${gpu_vendor}.${arch_target}.conf.in)"
local gpu_subst_configs="${gpu_path}/${gpu_vendor}.${arch_target}.conf.in"
if [[ "${conf_guest}" != "" ]];then
export CONF_GUEST_SUFFIX="-${conf_guest}"
else