drop ovmf 4m raw images

This commit is contained in:
Gerd Hoffmann 2023-05-04 09:31:28 +02:00
parent 0d83cd3695
commit f9b85f6c52

View File

@ -372,6 +372,7 @@ build_iso Fedora/ovmf-ia32
for raw in */ovmf-4m/*.fd; do
qcow2="${raw%.fd}.qcow2"
qemu-img convert -f raw -O qcow2 -o cluster_size=4096 -S 4096 "$raw" "$qcow2"
rm -f "$raw"
done
# experimental stateless builds
@ -382,7 +383,7 @@ virt-fw-vars --input Fedora/experimental/OVMF.stateless.fd \
for image in \
Fedora/ovmf/OVMF_CODE.secboot.fd \
Fedora/ovmf-4m/OVMF_CODE.secboot.fd \
Fedora/ovmf-4m/OVMF_CODE.secboot.qcow2 \
Fedora/experimental/OVMF.stateless.secboot.fd \
; do
pcr="${image%.fd}.pcr"
@ -568,10 +569,6 @@ done
%{_datadir}/%{name}/ovmf/MICROVM.fd
%{_datadir}/qemu/firmware/50-edk2-ovmf-x64-microvm.json
%dir %{_datadir}/%{name}/ovmf-4m/
%{_datadir}/%{name}/ovmf-4m/OVMF_CODE.fd
%{_datadir}/%{name}/ovmf-4m/OVMF_CODE.secboot.fd
%{_datadir}/%{name}/ovmf-4m/OVMF_VARS.fd
%{_datadir}/%{name}/ovmf-4m/OVMF_VARS.secboot.fd
%{_datadir}/%{name}/ovmf-4m/OVMF_CODE.qcow2
%{_datadir}/%{name}/ovmf-4m/OVMF_CODE.secboot.qcow2
%{_datadir}/%{name}/ovmf-4m/OVMF_VARS.qcow2