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.y...@windriver.com> Sent: Sat, 21 Jun 2014 18:43:15 To: Himanshu Pandey <pandey_himansh...@rediffmail.com>, Patches and discussions about the oe-core layer <openembedded-core@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> > > >
-- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core