[yocto] Recipe question

Darren Breeze darren.j.breeze at gmail.com
Fri Jun 5 17:50:18 PDT 2015


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.

















More information about the yocto mailing list