From: "Sebastian Süsens" <su@mycable.de>
To: "Burton, Ross" <ross.burton@intel.com>
Cc: yocto@yoctoproject.org
Subject: Re: How can I change the install path of the rootfs?
Date: Wed, 29 May 2013 11:26:58 +0200 [thread overview]
Message-ID: <51A5C9E2.7080008@mycable.de> (raw)
In-Reply-To: <CAJTo0LbU2qs5gpzxZiu3bhBO3O83Lcxks17EyqKtucOT32h0Cw@mail.gmail.com>
On 05/29/2013 11:24 AM, Burton, Ross wrote:
> On 29 May 2013 10:17, Sebastian Süsens <su@mycable.de> wrote:
>> I want to install scripts in a folder names can. My bitbake file looks
>> following:
>>
>> DESCRIPTION = "Test scripts for testing xxsq701 interfaces"
>> SECTION = "test_applications"
>> PR = "r0"
>> PN = "test-scripts"
>> LICENSE = "${MYC_LICENSE}"
>> LIC_FILES_CHKSUM = "file://${MYC_LICENSFILE};md5=${MYCMD5_LICENSFILE}"
>>
>> S="${TOPDIR}/../applications/meta-testapps/test-scripts/src"
>>
>> do_install() {
>> echo "DO_INSTALL: install test-scripts to ${D}/can"
>> install -d ${D}/can
>> install -m 0777 ${S}/can/init_can.sh ${D}/can
>> }
>>
>> When I run bitbake I get following error:
>> WARNING: QA Issue: test-scripts: Files/directories were installed but
>> not shipped
>> /can
>> /can/init_can.sh
>>
>>
>> And bitbakes break off with this message:
>> Unable to resolve package test-scripts
>>
>>
>> When I replace can with ${bindir} it works.
>>
>> How can I change the install path of the rootfs?
> If you want to install stuff into a non-standard path then you'll need
> to redefine the FILES_ variables (which defaults to $bindir and so on,
> for convenience). In this case, FILES_${PN} = "/can" will be
> sufficient.
>
> http://www.yoctoproject.org/docs/1.4/ref-manual/ref-manual.html#var-FILES
> is the relevant section in the reference documentation.
>
> Ross
Thank you.
--
------------------------------------------------------------------------
Sebastian Süsens Tel. +49 4321 559 56-27
mycable GmbH Fax +49 4321 559 56-10
Gartenstrasse 10
24534 Neumuenster, Germany Email su@mycable.de
------------------------------------------------------------------------
mycable GmbH, Managing Director: Michael Carstens-Behrens
USt-IdNr: DE 214 231 199, Amtsgericht Kiel, HRB 1797 NM
------------------------------------------------------------------------
This e-mail and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed. If you have received this e-mail in error,
please notify the sender and delete all copies from your system.
------------------------------------------------------------------------
prev parent reply other threads:[~2013-05-29 9:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-29 9:17 How can I change the install path of the rootfs? Sebastian Süsens
2013-05-29 9:24 ` Burton, Ross
2013-05-29 9:26 ` Sebastian Süsens [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=51A5C9E2.7080008@mycable.de \
--to=su@mycable.de \
--cc=ross.burton@intel.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.