我正在尝试通过运行bitbake swupdate-image
来构建swupdate
映像,但出现以下错误,
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'
我正在为warrior
yocto分支建造。错误指示swupdate.service does not exist
但swupdate.service
确实存在于meta-swupdate/recipes-support/swupdate/swupdate
下。任何帮助真的非常感谢。谢谢你的时间。
swupdate-image 是一个救援系统 - 它生成一个 Ramdisk。注意占用空间 - 它使用 SystemV 而不是 systemd 运行。如果你想使用 systemd 作为 init 来构建 swupdate-image,请添加你自己的 swupdate-image.bbappend 并重新排列软件包列表。