VR: Difference between revisions
Remove services.wivrn.defaultRuntime from example configuration, WiVRn manages the active runtime configuration itself and having it set this way will hang apps if a headset is not connected |
Update bwrap.patch |
||
| Line 238: | Line 238: | ||
}} | }} | ||
{{file|/etc/nixos/bwrap.patch|diff|3=diff --git a/bubblewrap.c b/bubblewrap.c | {{file|/etc/nixos/bwrap.patch|diff|3=diff --git a/bubblewrap.c b/bubblewrap.c | ||
index | index e05f697..504512a 100644 | ||
--- a/bubblewrap.c | --- a/bubblewrap.c | ||
+++ b/bubblewrap.c | +++ b/bubblewrap.c | ||
@@ - | @@ -791,13 +791,6 @@ acquire_privs (void) | ||
/* | /* Historically we supported this, but now we only do user namespaces */ | ||
die ("setuid use of bubblewrap is not supported"); | |||
} | } | ||
- else if (real_uid != 0 && has_caps ()) | - else if (real_uid != 0 && has_caps ()) | ||
| Line 255: | Line 255: | ||
{ | { | ||
/* If our uid is 0, default to inheriting all caps; the caller | /* If our uid is 0, default to inheriting all caps; the caller | ||
}} | |name=|lang=}} | ||
<translate> | <translate> | ||