Skip to content

guf-show-demo: Add guf-show-demo systemd service

Tobias Kahlki requested to merge add-guf-show-ddemo-systemd-service into dunfell

Add a systemd unit script for guf-show-demo and autostart it. Move the guf-show-demo repo to gitlab in the same step and use the latest version.

We moved from sysvinit to systemd and thus we needed a new way to start the demo automatically. This is done service script that is enabled automatically.

To do this we need to inherit the systemd bbclass that is not active if systemd is not available in the DISTRO_FEATURES. (See https://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#ref-classes-systemd)

The qt5.inc file adds a PACKAGE the "-tools" suffix. It interferes with the build of the standard ${PN} package as it pulls all files from ${bindir} thet are supposed to be in the ${PN} package. Thus remove the ${PN}-tools package from the PACKAGES list.

Now the guf-show-demo can will be started as the default GUI tool.

Tested with

devtool build-image -p guf-show-demo guf-image

Next step is to add it to the guf-image.

BCS 746-000079

Merge request reports

Loading