---
There might be a better way to do this? Configuring lxcfs with
"--with-pamdir=none" does not actually disable building the PAM module,
despite the comment in configure.ac.

 debian/rules | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/debian/rules b/debian/rules
index 6911ba9..584392c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,6 +9,11 @@
 override_dh_strip:
        dh_strip --dbg-package=lxcfs-dbg
 
+# Don't install PAM module for now, we don't need it.
+override_dh_install:
+       rm $(CURDIR)/debian/lxcfs/lib/*/security/pam_cgfs.so
+       find $(CURDIR)/debian/lxcfs/lib/ -type d -empty -delete
+
 override_dh_auto_install:
        dh_auto_install --destdir=debian/lxcfs
 
-- 
2.1.4


_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to