使用Yocto morty,我試圖在我的發行版中添加一個預先構建的nodejs版本。當我使用bitbake core-image-sato時,do_package_qa會掛起幾個小時。我很感謝你幫助我解決這個問題。Yocto do_package_qa掛起bin_package nodejs配方
我已經添加了這local.conf中的底部:
CORE_IMAGE_EXTRA_INSTALL += "mynode"
這是我MYNODE食譜:
SUMMARY = "puts the node.js binary distribution into my image"
SECTION = "base"
LICENSE = "MIT & BSD & Artistic-2.0"
LIC_FILES_CHKSUM = "file://usr/node-v7.10.0-linux-x64/LICENSE;md5=d29463feca32ea5977af7b6c7d62c14a"
SRC_URI = "https://nodejs.org/dist/v7.10.0/node-v7.10.0-linux-x64.tar.xz;subdir=usr"
SRC_URI[md5sum] = "b9122f212e0716d199d7e954ff81e1ec"
SRC_URI[sha256sum] = "6166b9f3fb1a9e861335d864688fee5366f040db808080856a1a2b71b6019786"
S = "${WORKDIR}"
inherit bin_package
這是log.do_install爲我包的NodeJS內容。也許來自tar的消息以某種方式描述了我的問題?
DEBUG: Executing shell function do_install
tar: ./pseudo/pseudo.socket: socket ignored
DEBUG: Shell function do_install finished
似乎沒有要任何東西log.do_package_qa有用我的包的NodeJS,但也許有人會看到的東西,我沒有看到:
DEBUG: Executing python function sstate_task_prefunc
DEBUG: Python function sstate_task_prefunc finished
DEBUG: Executing python function do_package_qa
NOTE: DO PACKAGE QA
DEBUG: Executing python function read_subpackage_metadata
DEBUG: Python function read_subpackage_metadata finished
NOTE: Checking Package: mynode-dev
NOTE: Checking Package: mynode
我看到幾個bitbake的工作流程運行,其中一個參數decafbad,兩個參數decafbadbeef。我也看到一個僞進程在運行。