mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-29 12:54:10 +00:00
Merge pull request #5026 from Alex-Carter01/sev-ovmf-makefile
CC| packaging: Add AmdSev OVMF target for use in payload images
This commit is contained in:
commit
9b49a6ddc6
@ -88,7 +88,8 @@ cc: cc-cloud-hypervisor-tarball \
|
||||
cc-tdx-kernel-tarball \
|
||||
cc-tdx-qemu-tarball \
|
||||
cc-tdx-td-shim-tarball \
|
||||
cc-tdx-tdvf-tarball
|
||||
cc-tdx-tdvf-tarball \
|
||||
cc-sev-ovmf-tarball
|
||||
|
||||
cc-cloud-hypervisor-tarball:
|
||||
${MAKE} $@-build
|
||||
@ -122,3 +123,6 @@ cc-tdx-td-shim-tarball:
|
||||
|
||||
cc-tdx-tdvf-tarball:
|
||||
${MAKE} $@-build
|
||||
|
||||
cc-sev-ovmf-tarball:
|
||||
${MAKE} $@-build
|
||||
|
@ -92,6 +92,7 @@ options:
|
||||
cc-rootfs-image
|
||||
cc-shimv2
|
||||
cc-virtiofsd
|
||||
cc-sev-ovmf
|
||||
EOF
|
||||
|
||||
exit "${return_code}"
|
||||
@ -207,6 +208,10 @@ install_cc_tdx_tdvf() {
|
||||
install_cc_tee_ovmf "tdx" "edk2-staging-tdx.tar.gz"
|
||||
}
|
||||
|
||||
install_cc_sev_ovmf(){
|
||||
install_cc_tee_ovmf "sev" "edk2-sev.tar.gz"
|
||||
}
|
||||
|
||||
#Install guest image
|
||||
install_image() {
|
||||
info "Create image"
|
||||
@ -335,6 +340,8 @@ handle_build() {
|
||||
|
||||
cc-tdx-tdvf) install_cc_tdx_tdvf ;;
|
||||
|
||||
cc-sev-ovmf) install_cc_sev_ovmf ;;
|
||||
|
||||
cloud-hypervisor) install_clh ;;
|
||||
|
||||
firecracker) install_firecracker ;;
|
||||
|
Loading…
Reference in New Issue
Block a user