diff --git a/edk2.spec b/edk2.spec index 95162a54ea46f7e6db1d970d1d59132827dad491..6a4b577e73d820e28184db5edaac2ac705448621 100644 --- a/edk2.spec +++ b/edk2.spec @@ -7,7 +7,7 @@ Name: edk2 Version: %{stable_date} -Release: 6 +Release: 7 Summary: EFI Development Kit II License: BSD-2-Clause-Patent and OpenSSL and MIT URL: https://github.com/tianocore/edk2 @@ -145,6 +145,8 @@ make -C BaseTools %{?_smp_mflags} EXTRA_OPTFLAGS="%{optflags}" EXTRA_LDFLAGS="%{ COMMON_FLAGS="-D NETWORK_IP6_ENABLE" %ifarch aarch64 BUILD_OPTION="$BUILD_OPTION -a AARCH64 -p ArmVirtPkg/ArmVirtQemu.dsc --cmd-len=65536 $COMMON_FLAGS" + # In order to be compatible with old os, make EFI_LOADER_DATA executable again. + BUILD_OPTION="$BUILD_OPTION --pcd PcdDxeNxMemoryProtectionPolicy=0xC000000000007FD1" %endif %ifarch x86_64 @@ -305,6 +307,9 @@ chmod +x %{buildroot}%{_bindir}/Rsa2048Sha256GenerateKeys %endif %changelog +* Wed Apr 17 2024 jiangdongxu - 202308-7 +- make EFI_LOADER_DATA executable again. + * Mon Apr 15 2024 shenyage - 202308-6 - fix CVE-2023-6237、CVE-2024-2511