The systemd recipe provides via a package split multiple packages, like systemd-journal-remote, see https://git.openembedded.org/openembedded-core/tree/meta/recipes-core/systemd/systemd_255.1.bb#n397
How do I compile systemd-journal-remote and introspect the build files this package creates under tmp/work/?
bitbake systemd-journal-remote
ERROR: Nothing PROVIDES 'systemd-journal-remote'. Close matches:
systemd RPROVIDES systemd-journal-remote
How do I run bitbake for just this package? (I am running Yocto Langdale)
Thanks to the Yocto IRC for helping me with this! Here is the summary:
In general:
Thus you cannot bitbake a package, you must bitbake the recipe - in my case
bitbake systemd- and the package will be included (if enabled).For
systemd-journal-remotemy mistake was that I did not set the correctPACKAGECONFIGthus not enabling this optional package:Afterwards you can add the package to your image recipe: