From: Stefan Schmidt <stefan@datenfreihafen.org>
To: poky@yoctoproject.org
Subject: Re: Problem with METADATA_* vars
Date: Fri, 18 Feb 2011 11:01:17 +0100 [thread overview]
Message-ID: <20110218100117.GY14931@excalibur.local> (raw)
In-Reply-To: <AANLkTi==59FW4R15YrsSSR8EHWRgn2Gh9BJ2rUVPMWS+@mail.gmail.com>
Hello.
On Fri, 2011-02-18 at 10:34, Koen Kooi wrote:
>
> I have a simple recipe that does:
>
> export METADATA_REVISION
> export METADATA_BRANCH
> export TARGET_SYS
>
> do_install() {
> install -d ${D}${sysconfdir}
> echo "Angstrom ${DISTRO_VERSION}" > ${D}${sysconfdir}/angstrom-version
> echo "Built from branch: ${METADATA_BRANCH}" >>
> ${D}${sysconfdir}/angstrom-version
> echo "Revision: ${METADATA_REVISION}" >>
> ${D}${sysconfdir}/angstrom-version
> echo "Target system: ${TARGET_SYS}" >>
> ${D}${sysconfdir}/angstrom-version
>
> [..]
> }
>
> It builds fine when doing 'bitbake angstrom-version', but when doing
> 'bitbake console-image', which includes angstrom-version I get:
>
> tr: write error: Broken pipe
> ERROR: Error evaluating '${@base_detect_branch(d)}'
Hmm, I somehow remeber something like this also in OE. Can you give it a try
with removing the explicit export in the recipe? Its a bit of guessing as I
don't have all the details in mind anymore. :)
regards
Stefan Schmidt
next prev parent reply other threads:[~2011-02-18 10:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-18 9:34 Problem with METADATA_* vars Koen Kooi
2011-02-18 10:01 ` Stefan Schmidt [this message]
2011-02-18 11:11 ` Koen Kooi
2011-02-18 11:10 ` Richard Purdie
2011-02-18 12:10 ` Richard Purdie
2011-02-22 22:06 ` Chris Larson
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=20110218100117.GY14931@excalibur.local \
--to=stefan@datenfreihafen.org \
--cc=poky@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.