[pve-devel] [PATCH lxcfs 2/2] Don't install libpam-cgfs
    Fabian Grünbichler 
    f.gruenbichler at proxmox.com
       
    Wed Feb 17 13:56:46 CET 2016
    
    
  
---
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
    
    
More information about the pve-devel
mailing list