Reputation: 1120
I am using an embedded Linux system based on Yocto/Open Embedded Linux and the systemd-journald-remote program is missing.
When I look at the systemd recipe the program is mentioned. It seems like it is not compiled or added by default to the image. I understand how to add normal recipes but unfortunately I don't understand how to add such a "subpackage".
The Bitbake documentation is unfortunately overwhelming for a beginner like me. Can someone help me?
Upvotes: 0
Views: 1275
Reputation: 705
You can add it into your image .bb
or .bbappend
file with following parameter:
IMAGE_INSTALL += "systemd-journal-remote"
This will add systemd-journal-remote
into your image. Install the image on your target board, log in to your target and configure the file /etc/systemd/journal-remote.conf
.
Then, enable the service with systemctl enable systemd-journal-remote
, and then restart it with systemctl restart systemd-journal-remote
.
Upvotes: 0
Reputation: 6327
Create bbappend for systemd in your meta-layer with following path recipes-core/systemd/systemd_%.bbappend
and:
PACKAGECONFIG_append = " \
microhttpd \
"
Upvotes: 0