All of lore.kernel.org
 help / color / mirror / Atom feed
From: Darren Breeze <darren.j.breeze@gmail.com>
To: yocto@yoctoproject.org
Subject: Recipe question
Date: Sat, 06 Jun 2015 08:50:18 +0800	[thread overview]
Message-ID: <557243CA.7000203@gmail.com> (raw)

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@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.
















             reply	other threads:[~2015-06-06  0:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-06  0:50 Darren Breeze [this message]
2015-06-08  7:20 ` Recipe question Samuel Engelmajer
2015-06-08  7:36 ` Anders Darander
2015-06-09 21:55   ` Darren Breeze

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=557243CA.7000203@gmail.com \
    --to=darren.j.breeze@gmail.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.