From 88aca0caba4ee774ca290ea5c4db55d0174f4b03 Mon Sep 17 00:00:00 2001 From: qsw33 Date: Tue, 26 Dec 2023 12:42:05 +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 5befed8..8e0e5d0 100644 --- a/linux-sgx.spec +++ b/linux-sgx.spec @@ -1,6 +1,6 @@ Name: linux-sgx Version: 2.15.1 -Release: 10 +Release: 11 Summary: Intel(R) Software Guard Extensions for Linux* OS ExclusiveArch: x86_64 License: BSD-3-Clause @@ -763,7 +763,9 @@ rm -rf %{?buildroot}/libsgx-headers-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 trigger_udev() { @@ -1045,6 +1047,9 @@ fi %files -n libsgx-headers -f %{LINUX_INSTALLER_RPM_DIR}/libsgx-headers/build/list-libsgx-headers %changelog +* Tue Dec 26 2023 wangqingsan - 2.15.1-11 +- Disabling the Automatic Startup of Software Package Upgrade + * Tue Dec 19 2023 wangqingsan - 2.15.1-10 - backport patch and cve -- Gitee