Add script and config file to run weston simply.

This commit is contained in:
Windsome Zeng
2022-08-09 11:50:46 +08:00
parent 478ae394ee
commit 2c2c443c80
4 changed files with 6166 additions and 0 deletions
File diff suppressed because it is too large Load Diff
+5
View File
@@ -0,0 +1,5 @@
#!/bin/sh
export XDG_RUNTIME_DIR=/root
export LANG="en_US.UTF-8"
export XCOMPOSEFILE=/root/.config/XCompose
weston --tty=1
+9
View File
@@ -0,0 +1,9 @@
[core]
shell=desktop-shell.so
xwayland=false
backend=drm-backend.so
[shell]
animation=zoom
[keyboard]
[output]
mode=1920x1080
+6
View File
@@ -164,4 +164,10 @@ else
WESTON_CONF_OPTS += -Ddemo-clients=false
endif
define WESTON_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0644 package/weston/weston.ini $(TARGET_DIR)/etc/xdg/weston/weston.ini
$(INSTALL) -D -m 0644 package/weston/Compose $(TARGET_DIR)/root/.config/XCompose
$(INSTALL) -D -m 0755 package/weston/run_weston.sh $(TARGET_DIR)/root/run_weston.sh
endef
$(eval $(meson-package))