diff --git a/linux-sgx.spec b/linux-sgx.spec index db7f9f1..3040e67 100644 --- a/linux-sgx.spec +++ b/linux-sgx.spec @@ -1,6 +1,6 @@ Name: linux-sgx Version: 2.11.100 -Release: 14 +Release: 15 Summary: Intel(R) Software Guard Extensions for Linux* OS ExclusiveArch: x86_64 License: BSD-3-Clause @@ -735,7 +735,9 @@ rm -rf %{?buildroot}/sgx-ra-service-dir/ %pre %post -n sgx-aesm-service -if [ -x /opt/intel/sgx-aesm-service/startup.sh ]; then /opt/intel/sgx-aesm-service/startup.sh; fi +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 udevadm trigger &>/dev/null || true @@ -946,6 +948,9 @@ fi %files -n sgx-ra-service -f %{TOOLS_INSTALLER_RPM_DIR}/sgx-ra-service/build/list-sgx-ra-service %changelog +* Tue Jun 11 2024 gengqihu - 2.11.100-15 +- Disabling the Automatic Startup of Software Package Upgrade + * Mon Jan 8 2024 wangyu - 2.11.100-14 - fix some cve