[openwrt/openwrt] tools: fakeroot: use TCP as IPC transport

LEDE Commits lede-commits at lists.infradead.org
Wed Sep 9 07:34:43 EDT 2020


jow pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/6485f521c9bb4a898cad6d73d7b27196921b89bb

commit 6485f521c9bb4a898cad6d73d7b27196921b89bb
Author: Jo-Philipp Wich <jo at mein.io>
AuthorDate: Tue Sep 8 13:52:10 2020 +0200

    tools: fakeroot: use TCP as IPC transport
    
    Some environments, e.g. first gen WSL, do not support SysV IPC.
    Enforce the use of TCP transport instead which should be universally
    available.
    
    Fixes: FS#3317
    Ref: https://github.com/microsoft/WSL/issues/4067
    Signed-off-by: Jo-Philipp Wich <jo at mein.io>
---
 tools/fakeroot/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tools/fakeroot/Makefile b/tools/fakeroot/Makefile
index 5bb8ab342c..9ab2679626 100644
--- a/tools/fakeroot/Makefile
+++ b/tools/fakeroot/Makefile
@@ -19,4 +19,7 @@ HOST_CONFIGURE_VARS += \
 	ac_cv_header_sys_capability_h=no \
 	ac_cv_func_capset=no
 
+HOST_CONFIGURE_ARGS += \
+	--with-ipc=tcp
+
 $(eval $(call HostBuild))



More information about the lede-commits mailing list