summary refs log tree commit diff
path: root/host/rootfs/etc/template/gpu/run
diff options
context:
space:
mode:
Diffstat (limited to 'host/rootfs/etc/template/gpu/run')
-rwxr-xr-xhost/rootfs/etc/template/gpu/run9
1 files changed, 9 insertions, 0 deletions
diff --git a/host/rootfs/etc/template/gpu/run b/host/rootfs/etc/template/gpu/run
new file mode 100755
index 0000000..eaac8d6
--- /dev/null
+++ b/host/rootfs/etc/template/gpu/run
@@ -0,0 +1,9 @@
+#!/bin/execlineb -P
+# SPDX-License-Identifier: EUPL-1.2+
+# SPDX-FileCopyrightText: 2022 Unikie
+
+s6-notifyoncheck -d
+crosvm --no-syslog device gpu
+  --socket env/crosvm.sock
+  --wayland-sock /run/user/0/wayland-1
+  --params "{\"context-types\":\"cross-domain\"}"