From 0709ea8e34f9ca457295eee2cf9ef88e5dd6fbb3 Mon Sep 17 00:00:00 2001 From: gengqihu <2712504175@qq.com> Date: Tue, 11 Jun 2024 16:39:22 +0800 Subject: [PATCH] Disabling the Automatic Startup of Software Package Upgrade --- linux-sgx.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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 -- Gitee