Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Robert Yang <liezhi.yang@windriver.com>
To: Himanshu Pandey <pandey_himanshu80@rediffmail.com>,
	Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [bitbake-devel] Hi
Date: Sat, 21 Jun 2014 21:13:07 +0800	[thread overview]
Message-ID: <53A584E3.3010508@windriver.com> (raw)
In-Reply-To: <20140621122616.19509.qmail@f4mail-235-223.rediffmail.com>


Hello,

I think that this email should go into oe-core mailing list (see
the CC). You can refer to:

oe-core/meta/classes/image_types.bbclass:

IMAGE_CMD_tar = "tar -cvf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.tar -C 
${IMAGE_ROOTFS} ."
COMPRESS_CMD_bz2 = "bzip2 -f -k ${IMAGE_NAME}.rootfs.${type}"

I think that you can add something like the following to your recipe:

COMPRESS_CMD_bz2_append () {
	<your shell script>
}

Then the script would run after the .tar.bz2 is created.

// Robert

On 06/21/2014 08:26 PM, Himanshu Pandey wrote:
> Hi,
>
> I have a requirement that once the .tar.bz2 is created I want my shell script to
> be executed finally.
>
> So where do I have to add this?
>
> So what I have to do in order to achieve this.
>
> Regards,
> Himanshu Pandey
>
> <http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle?>
> Get your own *FREE* website, *FREE* domain & *FREE* mobile app with Company email.
> 	*Know More >*
> <http://track.rediff.com/click?url=___http://businessemail.rediff.com/email-ids-for-companies-with-less-than-50-employees?sc_cid=sign-1-10-13___&cmp=host&lnk=sign-1-10-13&nsrv1=host>
>
>
>


       reply	other threads:[~2014-06-21 13:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20140621122616.19509.qmail@f4mail-235-223.rediffmail.com>
2014-06-21 13:13 ` Robert Yang [this message]
2014-06-25  7:10 [bitbake-devel] Hi Himanshu  Pandey
  -- strict thread matches above, loose matches on Subject: below --
2014-06-25  9:23 Himanshu  Pandey
2014-06-25  9:40 ` Robert Yang
     [not found] <09856974BCEE6F48AB378E52E4CAA73C226DA890@CHN-HCLT-MBS02.HCLT.CORP.HCL.IN>
     [not found] ` <56E239E0.7010003@windriver.com>
     [not found]   ` <09856974BCEE6F48AB378E52E4CAA73C226DBD49@CHN-HCLT-MBS02.HCLT.CORP.HCL.IN>
2016-03-14  6:59     ` Robert Yang

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=53A584E3.3010508@windriver.com \
    --to=liezhi.yang@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=pandey_himanshu80@rediffmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox