[OE-core] [bitbake-devel] Hi
Himanshu Pandey
pandey_himanshu80 at rediffmail.com
Wed Jun 25 09:23:55 UTC 2014
Hi,
Script in this section is appending just after the COMPRESS_CMD_bz2 command
and the full script is executing as a single command.
I want to run my script separately just after rootfs.tar.bz2 is created.
Please help.
Thanks in advance
From: Robert Yang <liezhi.yang at windriver.com>
Sent: Sat, 21 Jun 2014 18:43:15
To: Himanshu Pandey <pandey_himanshu80 at rediffmail.com>, Patches and discussions about the oe-core layer <openembedded-core at lists.openembedded.org>
Subject: Re: [bitbake-devel] Hi
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>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20140625/e22910da/attachment-0002.html>
More information about the Openembedded-core
mailing list