All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: Ulf Samuelsson <openembedded@emagii.com>
Cc: openembedded-devel@lists.openembedded.org
Subject: Re: Finding out the IMAGE_BASENAME of the image beeing built
Date: Sat, 30 Mar 2013 14:13:48 +0000	[thread overview]
Message-ID: <7185981.fYmuEdii30@helios> (raw)
In-Reply-To: <5156DB73.4040507@emagii.com>

On Saturday 30 March 2013 13:32:51 Ulf Samuelsson wrote:
> Trying create a programming script recipe and need to find out the
> IMAGE_BASENAME of the bitbake target
> so I can get the filename of the image
> 
> ${MACHINE}-${IMAGE_BASENAME}.ubi
> 
> I.E: if I do
> 
> $ MACHINE=beagleboard  bitbake some-image
> 
> and "some-image_1.0.bb" contains
> 
> IMAGE_BASENAME = "renamed-image"
> 
> Then the resulting image will be
> 
>      "beagleboard-renamed-image.ubi"
> 
> How get this info from another recipe?

You can't. The way to handle this is as part of do_rootfs itself (e.g. from a 
script called from ROOTFS_POSTPROCESS_COMMAND or IMAGE_POSTPROCESS_COMMAND).

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



  parent reply	other threads:[~2013-03-30 14:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-30 12:32 Finding out the IMAGE_BASENAME of the image beeing built Ulf Samuelsson
2013-03-30 13:04 ` Takeshi Hamasaki
2013-03-30 14:36   ` Ulf Samuelsson
2013-03-30 14:13 ` Paul Eggleton [this message]
2013-03-30 21:01   ` Ulf Samuelsson
2013-04-01 13:09 ` Takeshi Hamasaki

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=7185981.fYmuEdii30@helios \
    --to=paul.eggleton@linux.intel.com \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=openembedded@emagii.com \
    /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.