mirror of
https://github.com/flatpak/flatpak.git
synced 2026-10-26 17:39:41 -04:00
Fix --dev=all support
As pointed out by Jasper, we need to --dev-bind for devices to work.
This commit is contained in:
1 parent
6cbc9a7932
commit
e86ae478f7
1 file changed
+1
-1
@@ -1766,7 +1766,7 @@ flatpak_run_add_environment_args (GPtrArray *argv_array,
|
||||
if (context->devices & FLATPAK_CONTEXT_DEVICE_ALL)
|
||||
{
|
||||
add_args (argv_array,
|
||||
"--ro-bind", "/dev", "/dev",
|
||||
"--dev-bind", "/dev", "/dev",
|
||||
NULL);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user