[pve-devel] [PATCH lxc] enable seccomp

Wolfgang Bumiller w.bumiller at proxmox.com
Thu Aug 6 15:29:07 CEST 2015


explicitly enable seccomp and add libseccomp-dev build-time
and libseccomp2 runtime dependencies
---
 debian/control | 4 ++--
 debian/rules   | 3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index 585efd4..c3f335e 100644
--- a/debian/control
+++ b/debian/control
@@ -2,13 +2,13 @@ Source: lxc
 Section: admin
 Priority: optional
 Maintainer: Proxmox Support Team <support at proxmox.com>
-Build-Depends: debhelper (>= 9), autotools-dev, libapparmor-dev, docbook2x, libcap-dev, dh-apparmor, libcgmanager-dev, graphviz, libgnutls28-dev, linux-libc-dev, dh-autoreconf
+Build-Depends: debhelper (>= 9), autotools-dev, libapparmor-dev, docbook2x, libcap-dev, dh-apparmor, libcgmanager-dev, graphviz, libgnutls28-dev, linux-libc-dev, dh-autoreconf, libseccomp-dev
 Standards-Version: 3.9.5
 Homepage: https://linuxcontainers.org
 
 Package: lxc-pve
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, libcap2, apparmor, python3, bridge-utils, uidmap, libgnutlsxx28, criu (>= 1.5.2-1), lxcfs
+Depends: ${shlibs:Depends}, ${misc:Depends}, libcap2, apparmor, python3, bridge-utils, uidmap, libgnutlsxx28, criu (>= 1.5.2-1), lxcfs, libseccomp2
 Conflicts: lxc
 Replaces: lxc
 Provides: lxc
diff --git a/debian/rules b/debian/rules
index 3027c5c..893ed6d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,7 +23,8 @@ override_dh_auto_configure:
 	--enable-cgmanager \
 	--disable-python \
 	--disable-lua \
-	--disable-examples
+	--disable-examples \
+	--enable-seccomp
 
 override_dh_strip:
 	dh_strip --dbg-package=lxc-pve-dbg
-- 
2.1.4





More information about the pve-devel mailing list