From 736e9c9696cb9792389f63db10c6396169dca6db Mon Sep 17 00:00:00 2001 From: Erfan Abdi Date: Fri, 1 Oct 2021 17:04:13 +0330 Subject: [PATCH] drivers: Keep devices arg on modprobe MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * Debian binder module isn’t binderfs --- tools/helpers/drivers.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/helpers/drivers.py b/tools/helpers/drivers.py index 25a5b62..fa4d536 100644 --- a/tools/helpers/drivers.py +++ b/tools/helpers/drivers.py @@ -86,7 +86,9 @@ def probeBinderDriver(args): if len(binder_dev_nodes) > 0: if not isBinderfsLoaded(args): - command = ["modprobe", "binder_linux"] + devices = ','.join(binder_dev_nodes) + command = ["modprobe", "binder_linux", + "devices=\"{}\"".format(devices)] output = tools.helpers.run.user(args, command, check=False, output_return=True) if output: logging.error("Failed to load binder driver") -- 2.47.3