[yocto] Recipe question

Anders Darander anders at chargestorm.se
Mon Jun 8 00:36:35 PDT 2015


* Darren Breeze <darren.j.breeze at gmail.com> [150606 02:52]:
> the recipe file is :

> ---------

> DESCRIPTION = "Web Remote"
> SECTION = "utils"

> SRC_URI =
> "git://192.168.192.46/mygroup/web_remote.git;protocol=http;branch=master;"

> S = "${WORKDIR}/git"

> do_install() {
>         install -d ${D}opt/web_remote
>         cp -r ${S}/* ${D}opt/web_remote/.
> }

> ----------

> but I keep getting this error

> "error: Can't install packagegroup-core-boot-1.0-r17 at rk3188: no package
> provides web-remote"

You have installed the files under /opt, though there's nothing that
tells the system in which package these files should be installed.

Add a line:

FILES_${PN} += "/opt/we_remote"

to your recipe. This should tell the packaging step that all files under
/opt/web_root should be included in the ${PN}-package.

Cheers,
Anders

-- 
Anders Darander
ChargeStorm AB / eStorm AB



More information about the yocto mailing list