aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-graphics/x11-common/xserver-nodm-init_%.bbappend
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-graphics/x11-common/xserver-nodm-init_%.bbappend')
-rw-r--r--common/recipes-graphics/x11-common/xserver-nodm-init_%.bbappend6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/recipes-graphics/x11-common/xserver-nodm-init_%.bbappend b/common/recipes-graphics/x11-common/xserver-nodm-init_%.bbappend
new file mode 100644
index 00000000..3bb9fae6
--- /dev/null
+++ b/common/recipes-graphics/x11-common/xserver-nodm-init_%.bbappend
@@ -0,0 +1,6 @@
+# Force X to be run on vt7
+do_install_append_amdgpu() {
+ if [ -f ${D}${sysconfdir}/default/xserver-nodm ]; then
+ echo "INPUT_EXTRA_ARGS=vt7" >> ${D}${sysconfdir}/default/xserver-nodm
+ fi
+}