我使用的是基于Yocto/Open embedded Linux的嵌入式Linux系统,并且缺少systemd-journald-remote程序。
当我查看systemd recipe时,会提到该程序。默认情况下,它似乎没有编译或添加到图像中。我知道如何添加普通食谱,但不幸的是,我不知道如何添加这样的“子包”。
不幸的是,Bitbake文档对于像我这样的初学者来说是不堪重负的。有人能帮帮我吗?
发布于 2021-05-11 23:28:36
在元层中为systemd创建bbappend,路径为recipes-core/systemd/systemd_%.bbappend和:
PACKAGECONFIG_append = " \
microhttpd \
"发布于 2021-09-29 08:48:30
您可以通过以下参数将其添加到您的镜像.bb或.bbappend文件中:
IMAGE_INSTALL += "systemd-journal-remote"这会将systemd-journal-remote添加到您的图像中。在目标板上安装映像,登录到目标并配置文件/etc/systemd/journal-remote.conf。
然后,使用systemctl enable systemd-journal-remote启用该服务,然后使用systemctl restart systemd-journal-remote重新启动它。
https://stackoverflow.com/questions/67485708
复制相似问题