public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/linux-sgx] rawhide: Fix build without AESM
@ 2026-06-08  4:14 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-06-08  4:14 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/linux-sgx
            Branch : rawhide
            Commit : fe1755d3946072b8b407a524aa138fa955e3edae
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-06-08T00:12:47-04:00
            Stats  : +1/-5 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/linux-sgx/c/fe1755d3946072b8b407a524aa138fa955e3edae?branch=rawhide

            Log:
            Fix build without AESM

The enclave directory structure is no longer built in this case.

[skip changelog]
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>

---
diff --git a/linux-sgx.spec b/linux-sgx.spec
index 0ff9811..4d0c05f 100644
--- a/linux-sgx.spec
+++ b/linux-sgx.spec
@@ -1030,10 +1030,9 @@ cp -a %{vroot}/root/ %{buildroot}/root
 %__install -d %{buildroot}%{_rundir}/aesmd
 %endif
 
+%if %{with_aesm}
 # Enclaves to be provided by a separate package, so we purge these
 rm -f %{buildroot}/root/opt/intel/sgx-aesm-service/aesm/*signed.so*
-
-%if %{with_aesm}
 rm -f %{buildroot}/root/opt/intel/sgx-aesm-service/aesm/linksgx.sh
 rm -f %{buildroot}/root/opt/intel/sgx-aesm-service/aesm/libsgx_urts.so.2
 rm -f %{buildroot}/root/opt/intel/sgx-aesm-service/startup.sh
@@ -1065,9 +1064,6 @@ chmod +x %{buildroot}%{_bindir}/aesmd
 rm -f %{buildroot}/root/lib/systemd/system/aesmd.service
 %__install %{SOURCE40} %{buildroot}%{_sysusersdir}/aesmd.conf
 %__install %{SOURCE41} %{buildroot}%{_unitdir}/aesmd.service
-%else
-rmdir %{buildroot}/root/opt/intel/sgx-aesm-service/aesm
-rmdir %{buildroot}/root/opt/intel/sgx-aesm-service
 %endif
 
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-08  4:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-08  4:14 [rpms/linux-sgx] rawhide: Fix build without AESM Yaakov Selkowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox