[yocto] Recipe question

Samuel Engelmajer samuel.engelmajer at sigfox.com
Mon Jun 8 00:20:01 PDT 2015


Hi,

A simple suggestion here out of the blue,
are you sure your recipe is located in a place Yocto can find it ? What is
your recipe name ?

Sam


2015-06-06 2:50 GMT+02:00 Darren Breeze <darren.j.breeze at gmail.com>:

> Hi
>
> First post, I hope this is the correct list..
>
> I am trying to create a simple recipe that takes a tree of a website off a
> local git repository and places it in a directory under /opt in my image.
> It's a small tree of a couple of subdirectories and about 20 files.
>
> the recipe file is :
>
> ---------
>
> DESCRIPTION = "Web Remote"
> SECTION = "utils"
>
> ALTERNATIVE_${PN} = "web-remote"
>
> PROVIDES = "web-remote"
> RPROVIDES_${PN} += "${PN}"
>
> LICENSE = "CLOSED"
> LIC_FILES_CHKSUM = ""
>
> SRCREV = "${AUTOREV}"
>
> PV="1.0"
> PR = "r0"
>
> 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/.
> }
>
> SRC_URI[md5sum] = "???"
> SRC_URI[sha256sum] = "???"
>
> ----------
>
> but I keep getting this error
>
> "error: Can't install packagegroup-core-boot-1.0-r17 at rk3188: no package
> provides web-remote"
>
> Without web-remote included in the build, everything works and I get a
> bootable image, I think I am missing something very obvious but been
> hacking at this too long to see it waving at me from the edge of the forest.
>
> I have set the license to CLOSED, just as I had issues with setting up MIT
> (I will fix this later)
>
> Can someone please point me in the correct direction.
>
> many thanks in advance.
>
> Darren B.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150608/e6f90ea3/attachment.html>


More information about the yocto mailing list