mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-23 10:12:10 +00:00
kata-deploy: Remove trailing and leading white spaces in kata-deploy-binaries
This PR removes unwanted white spaces in order to fix the format of the kata-deploy-binaries script. Fixes: #6962 Signed-off-by: David Esparza <david.esparza.borquez@intel.com>
This commit is contained in:
parent
499ec324a9
commit
fb40ad37a9
@ -266,7 +266,7 @@ install_cc_image() {
|
|||||||
root_hash_vanilla=""
|
root_hash_vanilla=""
|
||||||
initramfs_last_commit="$(get_initramfs_image_name)"
|
initramfs_last_commit="$(get_initramfs_image_name)"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
local osbuilder_last_commit="$(echo $(get_last_modification "${repo_root_dir}/tools/osbuilder") | sed s/-dirty//)"
|
local osbuilder_last_commit="$(echo $(get_last_modification "${repo_root_dir}/tools/osbuilder") | sed s/-dirty//)"
|
||||||
local guest_image_last_commit="$(get_last_modification "${repo_root_dir}/tools/packaging/guest-image")"
|
local guest_image_last_commit="$(get_last_modification "${repo_root_dir}/tools/packaging/guest-image")"
|
||||||
@ -445,7 +445,7 @@ install_cached_kernel_component() {
|
|||||||
"kata-static-cc-sev-kernel-modules.tar.xz" \
|
"kata-static-cc-sev-kernel-modules.tar.xz" \
|
||||||
"${workdir}/kata-static-cc-sev-kernel-modules.tar.xz" \
|
"${workdir}/kata-static-cc-sev-kernel-modules.tar.xz" \
|
||||||
|| return 1
|
|| return 1
|
||||||
|
|
||||||
mkdir -p "${module_dir}"
|
mkdir -p "${module_dir}"
|
||||||
tar xvf "${workdir}/kata-static-cc-sev-kernel-modules.tar.xz" -C "${module_dir}" && return 0
|
tar xvf "${workdir}/kata-static-cc-sev-kernel-modules.tar.xz" -C "${module_dir}" && return 0
|
||||||
|
|
||||||
@ -949,7 +949,7 @@ handle_build() {
|
|||||||
cc-tdx-tdvf) install_cc_tdx_tdvf ;;
|
cc-tdx-tdvf) install_cc_tdx_tdvf ;;
|
||||||
|
|
||||||
cc-sev-ovmf) install_cc_sev_ovmf ;;
|
cc-sev-ovmf) install_cc_sev_ovmf ;;
|
||||||
|
|
||||||
cc-x86_64-ovmf) install_cc_x86_64_ovmf ;;
|
cc-x86_64-ovmf) install_cc_x86_64_ovmf ;;
|
||||||
|
|
||||||
cloud-hypervisor) install_clh ;;
|
cloud-hypervisor) install_clh ;;
|
||||||
|
Loading…
Reference in New Issue
Block a user