enroll sb keys for tdx image
This commit is contained in:
parent
78febee518
commit
3cc1097f10
@ -7,7 +7,7 @@
|
||||
"device": "flash",
|
||||
"mode": "stateless",
|
||||
"executable": {
|
||||
"filename": "/usr/share/edk2/ovmf/OVMF.inteltdx.fd",
|
||||
"filename": "/usr/share/edk2/ovmf/OVMF.inteltdx.secboot.fd",
|
||||
"format": "raw"
|
||||
}
|
||||
},
|
||||
@ -20,7 +20,9 @@
|
||||
}
|
||||
],
|
||||
"features": [
|
||||
"enrolled-keys",
|
||||
"intel-tdx",
|
||||
"secure-boot",
|
||||
"verbose-dynamic"
|
||||
],
|
||||
"tags": [
|
||||
|
@ -385,6 +385,10 @@ virt-fw-vars --input RHEL-9/ovmf/OVMF_VARS.fd \
|
||||
--output RHEL-9/ovmf/OVMF_VARS.secboot.fd \
|
||||
--set-dbx DBXUpdate-%{DBXDATE}.x64.bin \
|
||||
--enroll-redhat --secure-boot
|
||||
virt-fw-vars --input RHEL-9/ovmf/OVMF.inteltdx.fd \
|
||||
--output RHEL-9/ovmf/OVMF.inteltdx.secboot.fd \
|
||||
--set-dbx DBXUpdate-%{DBXDATE}.x64.bin \
|
||||
--enroll-redhat --secure-boot
|
||||
build_iso RHEL-9/ovmf
|
||||
cp DBXUpdate-%{DBXDATE}.x64.bin RHEL-9/ovmf
|
||||
|
||||
@ -400,6 +404,10 @@ virt-fw-vars --input Fedora/ovmf/OVMF_VARS_4M.fd \
|
||||
--output Fedora/ovmf/OVMF_VARS_4M.secboot.fd \
|
||||
--set-dbx DBXUpdate-%{DBXDATE}.x64.bin \
|
||||
--enroll-redhat --secure-boot
|
||||
virt-fw-vars --input Fedora/ovmf/OVMF.inteltdx.fd \
|
||||
--output Fedora/ovmf/OVMF.inteltdx.secboot.fd \
|
||||
--set-dbx DBXUpdate-%{DBXDATE}.x64.bin \
|
||||
--enroll-redhat --secure-boot
|
||||
virt-fw-vars --input Fedora/ovmf-ia32/OVMF_VARS.fd \
|
||||
--output Fedora/ovmf-ia32/OVMF_VARS.secboot.fd \
|
||||
--set-dbx DBXUpdate-%{DBXDATE}.ia32.bin \
|
||||
@ -621,6 +629,7 @@ done
|
||||
%{_datadir}/%{name}/ovmf/OVMF_VARS.secboot.fd
|
||||
%{_datadir}/%{name}/ovmf/OVMF.amdsev.fd
|
||||
%{_datadir}/%{name}/ovmf/OVMF.inteltdx.fd
|
||||
%{_datadir}/%{name}/ovmf/OVMF.inteltdx.secboot.fd
|
||||
%{_datadir}/%{name}/ovmf/UefiShell.iso
|
||||
%{_datadir}/%{name}/ovmf/Shell.efi
|
||||
%{_datadir}/%{name}/ovmf/EnrollDefaultKeys.efi
|
||||
|
Loading…
Reference in New Issue
Block a user