[OE-core] [bitbake-devel] Hi

Robert Yang liezhi.yang at windriver.com
Sat Jun 21 13:13:07 UTC 2014


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>
>
>
>



More information about the Openembedded-core mailing list