0

我正在尝试设计一个 OTA 更新系统,并希望将 meta-swupdate 与 Yocto 一起使用,这就是我所做的:

  1. bitbake-layers add-layer ../meta-openembedded/meta-oe/

  2. bitbake-layers add-layer ../meta-swupdate

  3. bitbake-layer showlayers

NOTE: Starting bitbake server...
layer                 path                                      priority
==========================================================================
meta                  /home/ut/repo/poky/meta                   5
meta-poky             /home/ut/repo/poky/meta-poky              5
meta-yocto-bsp        /home/ut/repo/poky/meta-yocto-bsp         5
meta-oe               /home/ut/repo/os-dev/yocto/meta-openembedded/meta-oe  6
meta-swupdate         /home/ut/repo/os-dev/yocto/meta-swupdate  6

conf/local.conf:我设置MACHINE ?= "qemuarm64"

并构建:

bitbake swupdate-image

这就是我得到的:

ERROR: ParseError at /home/ut/repo/os-dev/yocto/meta-swupdate/recipes-support/swupdate/swupdate.inc:10: unparsed line: 'LICENSE:${PN}-lua = "LGPLv2+"'                                     | ETA:  --:--:--

Summary: There was 1 ERROR message shown, returning a non-zero exit code.
4

1 回答 1

0

不要使用https://github.com/sbabic/meta-swupdatemaster的分支

使用与您的分支兼容的poky分支。(邓菲尔,宙斯,...)

例如,在dunfell分支中它是固定的:

LICENSE_${PN}-lua = "LGPLv2+"
LICENSE_${PN}-www = "MIT"
于 2021-08-10T12:41:36.877 回答