revert 'make files sparse again', breaks coreos

This commit is contained in:
Gerd Hoffmann 2023-01-02 14:42:19 +01:00
parent 5a0490a64e
commit ff59d8461f
1 changed files with 0 additions and 15 deletions

View File

@ -472,21 +472,6 @@ for file in %{buildroot}%{_datadir}/%{name}/*/*VARS.secboot*; do
virt-fw-vars --input $file --print | grep "SecureBootEnable.*ON" || exit 1
done
%if %{build_aarch64}
%post aarch64
# make files sparse again
for file in %{_datadir}/%{name}/aarch64/*.raw; do
fallocate --dig-holes "$file"
done
%if %{defined fedora}
%post arm
# make files sparse again
for file in %{_datadir}/%{name}/arm/*.raw; do
fallocate --dig-holes "$file"
done
%endif
%endif
%global common_files \
%%license License.txt License.OvmfPkg.txt License-History.txt LICENSE.openssl \
%%dir %%{_datadir}/%%{name}/ \