![Matt Weber](/assets/img/avatar_default.png)
fakeroot can be built to either use SYSV IPC or TCP for message passing. A bug was discovered where Microsoft Windows 10 Services for Linux doesn't include support for SYSV IPC MsgQ. This patch adds support to detect this case and automatically build fakeroot to use the TCP transport instead (It is assumed a TCP transport would definitely have more overhead then MsgQs so the default wasn't changed to TCP). Fixes https://bugs.busybox.net/show_bug.cgi?id=11366 Cc: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Jean-Francois Doyon <jfdoyon@gmail.com> Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com> [Arnout: use a post-patch hook and AUTORECONF=YES] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
29 lines
929 B
Makefile
29 lines
929 B
Makefile
################################################################################
|
|
#
|
|
# fakeroot
|
|
#
|
|
################################################################################
|
|
|
|
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
|
|
|
|
HOST_FAKEROOT_DEPENDENCIES = host-acl
|
|
# 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_header_sys_capability_h=no \
|
|
ac_cv_func_capset=no
|
|
# 0003-Select-TCP-when-lack-of-SYSV-IPC.patch touches configure.ac
|
|
HOST_FAKEROOT_AUTORECONF = YES
|
|
FAKEROOT_LICENSE = GPL-3.0+
|
|
FAKEROOT_LICENSE_FILES = COPYING
|
|
|
|
define HOST_FAKEROOT_BUILD_AUX
|
|
mkdir -p $(@D)/build-aux
|
|
endef
|
|
HOST_FAKEROOT_POST_PATCH_HOOKS += HOST_FAKEROOT_BUILD_AUX
|
|
|
|
$(eval $(host-autotools-package))
|