diff --git a/linux-sgx.spec b/linux-sgx.spec index ddd24cb86e2ff774ef2ab27abd113effc03be3aa..751c38fa0dd8f238bd3434266b3e4b670797ee6e 100644 --- a/linux-sgx.spec +++ b/linux-sgx.spec @@ -1,6 +1,6 @@ Name: linux-sgx Version: 2.11.100 -Release: 11 +Release: 12 Summary: Intel(R) Software Guard Extensions for Linux* OS ExclusiveArch: x86_64 License: BSD-3-Clause @@ -747,7 +747,7 @@ fi ################################################################################ # Install the SGX_PCK_ID_RETRIEVE_TOOL -ln -s /opt/intel/sgx-pck-id-retrieval-tool/PCKIDRetrievalTool /usr/local/bin/PCKIDRetrievalTool +ln -sf /opt/intel/sgx-pck-id-retrieval-tool/PCKIDRetrievalTool /usr/local/bin/PCKIDRetrievalTool retval=$? if test $retval -ne 0; then @@ -836,7 +836,9 @@ echo -e "Uninstallation succeed!" %postun -n sgx-pck-id-retrieval-tool # Removing SGX_PCK_ID_RETRIEVE_TOOL soft link file -rm -f /usr/local/bin/PCKIDRetrievalTool +if [ "$1" = "0" ]; then + rm -f /usr/local/bin/PCKIDRetrievalTool +fi echo -e "Uninstallation succeed!" @@ -933,6 +935,9 @@ fi %files -n sgx-ra-service -f %{TOOLS_INSTALLER_RPM_DIR}/sgx-ra-service/build/list-sgx-ra-service %changelog +* Thu Sep 15 2022 wangyu - 2.11.100-12 +- Fix the failure to execute the post script of the sgx-pck-id-retrieval-tool + * Sat Sep 03 2022 wangyu - 2.11.100-11 - Fix CVE-2022-2068 CVE-2022-0778 CVE-2022-1292 CVE-2022-2097