mirror of https://github.com/linuxdeepin/linglong
Compare commits
2 Commits
9fb745e65e
...
bdcd8d6382
| Author | SHA1 | Date |
|---|---|---|
|
|
bdcd8d6382 | |
|
|
c2ea92df7b |
|
|
@ -190,7 +190,7 @@ ContainerCfgBuilder::bindDevNode(std::function<bool(const std::string &)> ifBind
|
|||
{
|
||||
if (!ifBind) {
|
||||
ifBind = [](const std::string &name) -> bool {
|
||||
if (name == "snd" || name == "dri" || name.rfind("video", 0) == 0
|
||||
if (name == "snd" || name == "dri" || name == "jmgpu" || name.rfind("video", 0) == 0
|
||||
|| name.rfind("nvidia", 0) == 0) {
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue