You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by be...@apache.org on 2019/05/14 10:17:27 UTC

[mesos] 01/02: Enabled launcher sealing for RPM packages.

This is an automated email from the ASF dual-hosted git repository.

bennoe pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git

commit 7ff4263c371f8a51551199c694837cf371923137
Author: Benjamin Bannier <bb...@apache.org>
AuthorDate: Mon Apr 8 14:37:32 2019 +0200

    Enabled launcher sealing for RPM packages.
    
    We enable this flag since with it disabled certain public functions
    are not available making it hard to e.g., write modules against this
    version of Mesos.
    
    While launcher sealing depends on a recent kernel, the platform we
    build RPMs for already satisfies the requirements.
    
    Review: https://reviews.apache.org/r/70295
---
 support/packaging/centos/mesos.spec | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/support/packaging/centos/mesos.spec b/support/packaging/centos/mesos.spec
index 54f7393..f1ba977 100644
--- a/support/packaging/centos/mesos.spec
+++ b/support/packaging/centos/mesos.spec
@@ -87,10 +87,13 @@ This package provides files for developing Mesos frameworks/modules.
 %setup -q
 
 %build
+%{!?el6:%define launcher_sealing --enable-launcher-sealing}
+
 %configure \
     --enable-optimize \
     --disable-python-dependency-install \
     --enable-install-module-dependencies \
+    %{launcher_sealing} \
     --enable-libevent \
     --enable-ssl \
     --enable-hardening \