From: Darren Breeze <darren.j.breeze@gmail.com>
To: yocto@yoctoproject.org
Subject: Re: Recipe question
Date: Wed, 10 Jun 2015 05:55:48 +0800 [thread overview]
Message-ID: <557760E4.9060104@gmail.com> (raw)
In-Reply-To: <20150608073635.GA20609@ad.chargestorm.se>
Hi
I have sorted this out.
I had assumed the ${D} contained a trailing slash when it didn't
I changed do_install to
do_install() {
install -d ${D}/opt/web_remote
cp -r ${S}/* ${D}/opt/web_remote/.
}
And it worked.
Thanks for all the responses.
Darren B.
On 8/06/2015 3:36 PM, Anders Darander wrote:
> * Darren Breeze <darren.j.breeze@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@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
>
prev parent reply other threads:[~2015-06-09 21:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-06 0:50 Recipe question Darren Breeze
2015-06-08 7:20 ` Samuel Engelmajer
2015-06-08 7:36 ` Anders Darander
2015-06-09 21:55 ` Darren Breeze [this message]
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=557760E4.9060104@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.