revert 'make files sparse again', breaks coreos
This commit is contained in:
parent
de5cbe75e7
commit
1f9542a02a
15
edk2.spec
15
edk2.spec
@ -472,21 +472,6 @@ for file in %{buildroot}%{_datadir}/%{name}/*/*VARS.secboot*; do
|
|||||||
virt-fw-vars --input $file --print | grep "SecureBootEnable.*ON" || exit 1
|
virt-fw-vars --input $file --print | grep "SecureBootEnable.*ON" || exit 1
|
||||||
done
|
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 \
|
%global common_files \
|
||||||
%%license License.txt License.OvmfPkg.txt License-History.txt LICENSE.openssl \
|
%%license License.txt License.OvmfPkg.txt License-History.txt LICENSE.openssl \
|
||||||
%%dir %%{_datadir}/%%{name}/ \
|
%%dir %%{_datadir}/%%{name}/ \
|
||||||
|
Loading…
Reference in New Issue
Block a user