0

我正在尝试使用 yocto 构建系统从配方(bitbake)中获取 github 最新版本。

我的食谱看起来像这样……

DESCRIPTION = "web based app "
LICENSE = "CLOSED"

APP_DESTINATION = "${libdir}/App"
SRC_URI = " \
    https://github.com/User/App/releases/download/latest/App.zip;github_private_asset=1 \
   "

S = "${WORKDIR}"


do_install_append() {
         install -d ${D}${APP_DESTINATION}
         cp -r ${S}/App/* ${D}${APP_DESTINATION}
   
}

FILES_${PN} += "\
    ${APP_DESTINATION}/* \
"

但它说..

Resolving github.com (github.com)... 170.72.121.4
Connecting to github.com (github.com)|170.72.121.4|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-10-04 07:10:36 ERROR 404: Not Found.

有人可以帮助如何获取版本吗?

4

0 回答 0