From: Erfan Abdi Date: Fri, 1 Oct 2021 13:34:13 +0000 (+0330) Subject: drivers: Keep devices arg on modprobe X-Git-Tag: 1.2.0~16 X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/waydroid.git/commitdiff_plain/736e9c9696cb9792389f63db10c6396169dca6db?ds=sidebyside drivers: Keep devices arg on modprobe * Debian binder module isn’t binderfs --- 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")