User services cannot be enabled at do_rootfs time. They generate
errors similar to:
ERROR: image-1.0-r0 do_rootfs: Error: Systemctl main enable issue in plasma-krdp_server.service (plasma-krdp_server.service)
ERROR: image-1.0-r0 do_rootfs: Postinstall scriptlets of ['krdp'] have failed. If the intention is to defer them to first boot,
then please place them into pkg_postinst_ontarget:${PN} ().
Deferring to first boot via 'exit 1' is no longer supported.
Details of the failure are in /path/to/tmp/work/machine/image/1.0/temp/log.do_rootfs.
ERROR: Logfile of failure stored in: /path/to/tmp/work/machine/image/1.0/temp/log.do_rootfs.123456
ERROR: Task (/path/to/image.bb:do_rootfs) failed with exit code '1
Note that the service _will_ be activated when users turn on the krdp
server from the system settings UI. So actually activating it from the
recipe is not really what we want anyway.
Signed-off-by: Marc Ferland <marc.ferland@sonatest.com>
meta-kde
This layer contains recipes for workspace and application products of the KDE community. For KDE Frameworks recipes see meta-kf6.
Dependencies
This layer depends on:
URI: https://invent.kde.org/packaging/yocto-meta-kf6 branch: master
URI: https://code.qt.io/cgit/yocto/meta-qt6.git tag: v5.11.1
URI: https://git.yoctoproject.org/cgit/cgit.cgi/meta-java branch: master
URI: http://git.openembedded.org/meta-openembedded layers: meta-networking, meta-python, meta-oe branch: master
URI: https://git.yoctoproject.org/cgit/cgit.cgi/poky layers: meta-yocto-bsp, meta-poky, meta branch: master
Configuration
The layer makes use of the following DISTRO_FEATURE values:
desktop-portal: KDE custom feature that enables/disables integration with desktop portal technologies (including: screen-sharing, package install via Flatpack); note that the support is very experimental and it is only known to even´ build without problems for versions > nanbield
Patches
Please submit any patches against the kde layer on KDE GitLab project. Project available on https://invent.kde.org/packaging/yocto-meta-kde GitLab guide on https://community.kde.org/Infrastructure/GitLab