From a16035cb0ef6700bc114ead2463f1492bcd1ef9e586a00fef66f13240e4b07ec Mon Sep 17 00:00:00 2001 From: Aleksa Sarai Date: Fri, 15 Apr 2016 10:47:01 +0000 Subject: [PATCH] * Disable seccomp entirely for aarch64 builds, since it is not provided on all SUSE platforms. OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=7 --- runc.changes | 6 ++++++ runc.spec | 3 +++ 2 files changed, 9 insertions(+) diff --git a/runc.changes b/runc.changes index 4a46978..8e16db6 100644 --- a/runc.changes +++ b/runc.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Apr 15 10:46:04 UTC 2016 - asarai@suse.de + +* Disable seccomp entirely for aarch64 builds, since it is not provided on all + SUSE platforms. + ------------------------------------------------------------------- Wed Apr 13 12:03:09 UTC 2016 - asarai@suse.de diff --git a/runc.spec b/runc.spec index b71f892..62b2b55 100644 --- a/runc.spec +++ b/runc.spec @@ -42,7 +42,10 @@ BuildRequires: go-go-md2man BuildRequires: gcc5-go >= 5.0 %endif BuildRequires: libapparmor-devel +# Seccomp isn't supported on aarch64. +%ifnarch aarch64 BuildRequires: libseccomp-devel +%endif BuildRequires: libselinux-devel Recommends: criu BuildRoot: %{_tmppath}/%{name}-%{version}-build