mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-24 02:31:12 +00:00
Merge pull request #6120 from UnmeshDeodhar/CC-Cache-SEV-firmware
Adding caching capability for SEV ovmf
This commit is contained in:
commit
420203f054
@ -59,8 +59,13 @@ cache_firmware_artifacts() {
|
||||
current_firmware_image="$(get_ovmf_image_name)"
|
||||
current_firmware_version="$(get_from_kata_deps "externals.ovmf.tdx.version")"
|
||||
;;
|
||||
"ovmf")
|
||||
firmware_tarball_name="kata-static-cc-sev-ovmf.tar.xz"
|
||||
current_firmware_image="$(get_ovmf_image_name)"
|
||||
current_firmware_version="$(get_from_kata_deps "externals.ovmf.sev.version")"
|
||||
;;
|
||||
*)
|
||||
die "Not a valid firmware (td-shim, tdvf) wass set as the FIRMWARE environment variable."
|
||||
die "Not a valid firmware (td-shim, tdvf, ovmf) wass set as the FIRMWARE environment variable."
|
||||
|
||||
;;
|
||||
esac
|
||||
@ -163,6 +168,7 @@ Usage: $0 "[options]"
|
||||
* Requires FIRMWARE environment variable set, valid values are:
|
||||
* tdvf
|
||||
* td-shim
|
||||
* ovmf
|
||||
-s Shim v2 cache
|
||||
-v Virtiofsd cache
|
||||
-r Rootfs Cache
|
||||
|
Loading…
Reference in New Issue
Block a user