diff --git a/linux-sgx.spec b/linux-sgx.spec index 9293bfcd151bd4e8c3b57e1fe2ab8e3c8c648aa4..4d8bb40cc3fca3d8a6fc081cd7709034d81807cd 100644 --- a/linux-sgx.spec +++ b/linux-sgx.spec @@ -1,6 +1,6 @@ Name: linux-sgx Version: 2.19 -Release: 4 +Release: 5 Summary: Intel(R) Software Guard Extensions for Linux* OS ExclusiveArch: x86_64 License: BSD-3-Clause @@ -727,8 +727,10 @@ rm -rf %{?buildroot}/libsgx-headers-dir/ %pre -%posttrans -n sgx-aesm-service -if [ -x /opt/intel/sgx-aesm-service/startup.sh ]; then /opt/intel/sgx-aesm-service/startup.sh; fi +%post -n sgx-aesm-service +if [ "$1" = "1" ];then + if [ -x /opt/intel/sgx-aesm-service/startup.sh ]; then /opt/intel/sgx-aesm-service/startup.sh; fi +fi %post -n libsgx-enclave-common trigger_udev() { @@ -876,6 +878,9 @@ if [ -x /opt/intel/sgx-dcap-pccs/startup.sh ]; then /opt/intel/sgx-dcap-pccs/sta %files -n libsgx-headers -f %{LINUX_INSTALLER_RPM_DIR}/libsgx-headers/build/list-libsgx-headers %changelog +* Mon Jun 17 2024 gengqihu - 2.19-5 +- Disabling the Automatic Startup of Software Package Upgrade + * Mon Feb 26 2024 wangqingsan - 2.19-4 - fix CVE-2023-0464,CVE-2023-0465,CVE-2023-0466,CVE-2023-2650,CVE-2023-3446,CVE-2023-3817,CVE-2023-5678.