From: Alfred Neumayer Date: Sat, 7 May 2022 12:18:25 +0000 (+0200) Subject: lxc: Optionally bind-mount NFC config X-Git-Tag: 1.3.0~22 X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/waydroid.git/commitdiff_plain/d2c283d7fcd6a1f778d362e7cda73c39988e0d0f?ds=inline lxc: Optionally bind-mount NFC config Devices with libnfc-nci might have their NFC HAL crash when the config doesn't exist or contains invalid data. Fix it. --- diff --git a/tools/helpers/lxc.py b/tools/helpers/lxc.py index d26b184..7a9988e 100644 --- a/tools/helpers/lxc.py +++ b/tools/helpers/lxc.py @@ -121,6 +121,9 @@ def generate_nodes_lxc_config(args): for n in glob.glob("/tmp/run-*"): make_entry(n, options="rbind,create=dir,optional 0 0") + # NFC config + make_entry("/system/etc/libnfc-nci.conf", options="bind,optional 0 0") + return nodes