diff mbox

fakeroot: disable capabilities

Message ID 1449241894-8016-1-git-send-email-gustavo@zacarias.com.ar
State Accepted
Commit c994c3db1f7d76b5dfe79e3b1133d66fdd06212c
Headers show

Commit Message

Gustavo Zacarias Dec. 4, 2015, 3:11 p.m. UTC
These don't autodetect consistently and are process rather than file
capabilities, so not very useful in the buildroot context.
Otherwise we'd have to unconditionally pull host-libcap (or fix the
detection, but again, not useful so there's no need).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/fakeroot/fakeroot.mk | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Peter Korsgaard Dec. 4, 2015, 8:27 p.m. UTC | #1
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 > These don't autodetect consistently and are process rather than file
 > capabilities, so not very useful in the buildroot context.
 > Otherwise we'd have to unconditionally pull host-libcap (or fix the
 > detection, but again, not useful so there's no need).

 > Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

Committed, thanks.
diff mbox

Patch

diff --git a/package/fakeroot/fakeroot.mk b/package/fakeroot/fakeroot.mk
index 8bb9294..837c2b9 100644
--- a/package/fakeroot/fakeroot.mk
+++ b/package/fakeroot/fakeroot.mk
@@ -7,6 +7,10 @@ 
 FAKEROOT_VERSION = 1.20.2
 FAKEROOT_SOURCE = fakeroot_$(FAKEROOT_VERSION).orig.tar.bz2
 FAKEROOT_SITE = http://snapshot.debian.org/archive/debian/20141005T221953Z/pool/main/f/fakeroot
+# Force capabilities detection off
+# For now these are process capabilities (faked) rather than file
+# so they're of no real use
+HOST_FAKEROOT_CONF_ENV = ac_cv_func_capset=no
 FAKEROOT_LICENSE = GPLv3+
 FAKEROOT_LICENSE_FILES = COPYING