diff options
| author | Samuli Piippo <samuli.piippo@qt.io> | 2026-03-23 07:41:13 +0000 |
|---|---|---|
| committer | Samuli Piippo <samuli.piippo@qt.io> | 2026-03-27 09:47:16 +0000 |
| commit | 2cb55d80232068e429b13b836103cb65e4786d9b (patch) | |
| tree | e7c5bfeba1904602bc2344ef60220ba804191c32 | |
| parent | 56ac1a88fbf358c7d52576801579e810f462e7fa (diff) | |
boot2qt-demolauncher: disable systemd autostart
Add systemd service file without appcontroller and disable autostart.
Instead, demo launcher can be started from weston launcher.
Change-Id: I0f9b33b72772ceff398c1d28dee1cea4e8108386
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
| -rw-r--r-- | recipes-qt/boot2qt-addons/boot2qt-demolauncher/demolauncher.service | 12 | ||||
| -rw-r--r-- | recipes-qt/boot2qt-addons/boot2qt-demolauncher_git.bbappend | 3 |
2 files changed, 15 insertions, 0 deletions
diff --git a/recipes-qt/boot2qt-addons/boot2qt-demolauncher/demolauncher.service b/recipes-qt/boot2qt-addons/boot2qt-demolauncher/demolauncher.service new file mode 100644 index 0000000..b5f7ab7 --- /dev/null +++ b/recipes-qt/boot2qt-addons/boot2qt-demolauncher/demolauncher.service @@ -0,0 +1,12 @@ +[Unit] +Description=Qt Demo Launcher +Conflicts=startupscreen.service + +[Service] +User=root +Environment="XDG_RUNTIME_DIR=/run/user/0" +Environment="WAYLAND_DISPLAY=/run/wayland-0" +ExecStart=-/usr/bin/qtlauncher + +[Install] +WantedBy=multi-user.target diff --git a/recipes-qt/boot2qt-addons/boot2qt-demolauncher_git.bbappend b/recipes-qt/boot2qt-addons/boot2qt-demolauncher_git.bbappend new file mode 100644 index 0000000..804c899 --- /dev/null +++ b/recipes-qt/boot2qt-addons/boot2qt-demolauncher_git.bbappend @@ -0,0 +1,3 @@ +FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" + +SYSTEMD_AUTO_ENABLE:${PN} = "disable" |
