]> git.proxmox.com Git - lxc.git/commitdiff
build with pve-libseccomp2.4
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 23 Oct 2019 08:59:06 +0000 (10:59 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 23 Oct 2019 09:16:42 +0000 (11:16 +0200)
To allow syscall interception.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
debian/control
debian/rules

index a6b8c60d8e064b2d078c2222dbb9aef98f24bbb4..27b0588f92d3a4a681b3f61ab3da8e8721064283 100644 (file)
@@ -11,9 +11,9 @@ Build-Depends: bash-completion,
                libapparmor-dev,
                libcap-dev,
                libgnutls28-dev,
-               libseccomp-dev,
                linux-libc-dev,
                pkg-config,
+               pve-libseccomp2.4-dev,
                quilt,
 Standards-Version: 4.3.0
 Homepage: https://linuxcontainers.org
@@ -25,7 +25,6 @@ Depends: apparmor,
          criu (>= 1.5.2-1),
          libcap2,
          libgnutlsxx28,
-         libseccomp2,
          lxcfs,
          python3,
          uidmap,
index 87c4053d6715cda46953732a5682091284db0fa7..6b49f7d162ebed4fba690bf1cd57742274874195 100755 (executable)
@@ -26,7 +26,9 @@ override_dh_auto_configure:
        --disable-examples \
        --enable-seccomp \
        --disable-static \
-       --with-cgroup-pattern='lxc/%n'
+       --with-cgroup-pattern='lxc/%n' \
+       SECCOMP_CFLAGS="-I/usr/lib/pve-libseccomp2.4/include" \
+       SECCOMP_LIBS="-L/usr/lib/$(DEB_HOST_MULTIARCH)/pve-libseccomp2.4 -lseccomp" \
 
 override_dh_fixperms:
        dh_fixperms -Xusr/lib/$(DEB_HOST_MULTIARCH)/lxc/lxc-user-nic