public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/linux-sgx] rawhide: Fix build without AESM
Date: Mon, 08 Jun 2026 04:14:23 GMT	[thread overview]
Message-ID: <178089206365.1.3076768508768059357.rpms-linux-sgx-fe1755d39460@fedoraproject.org> (raw)

            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
 
 

                 reply	other threads:[~2026-06-08  4:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178089206365.1.3076768508768059357.rpms-linux-sgx-fe1755d39460@fedoraproject.org \
    --to=yselkowi@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox