0

我正在尝试swupdate通过运行来构建图像,bitbake swupdate-image但出现以下错误,

ERROR: swupdate-2019.04-r0 do_package: SYSTEMD_SERVICE_swupdate value swupdate.service does not exist
ERROR: swupdate-2019.04-r0 do_package: 
ERROR: swupdate-2019.04-r0 do_package: Function failed: systemd_populate_packages
ERROR: Logfile of failure stored in: /home/panther2/warrior/build/tmp/work/corei7-64-poky-linux/swupdate/2019.04-r0/temp/log.do_package.22017
ERROR: Task (/home/panther2/warrior/sources/meta-swupdate/recipes-support/swupdate/swupdate_2019.04.bb:do_package) failed with exit code '1'

我正在为warrioryocto 分支建设。错误表示swupdate.service does not existswupdate.service确实存在于meta-swupdate/recipes-support/swupdate/swupdate. 非常感谢任何帮助。谢谢你的时间。

4

1 回答 1

0

swupdate-image 是一个救援系统 - 它生成一个 Ramdisk。注意占用空间 - 然后它使用 SystemV 而不是 systemd 运行。如果您想使用 systemd 作为 init 构建 swupdate-image,请添加您自己的 swupdate-image.bbappend 并重新排列软件包列表。

于 2019-09-30T12:23:25.233 回答