* Re: [bitbake-devel] Hi
2014-06-21 12:26 Hi Himanshu Pandey
@ 2014-06-21 13:13 ` Robert Yang
0 siblings, 0 replies; 5+ messages in thread
From: Robert Yang @ 2014-06-21 13:13 UTC (permalink / raw)
To: Himanshu Pandey, Patches and discussions about the oe-core layer
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>
>
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [bitbake-devel] Hi
@ 2014-06-25 7:10 Himanshu Pandey
0 siblings, 0 replies; 5+ messages in thread
From: Himanshu Pandey @ 2014-06-25 7:10 UTC (permalink / raw)
To: openembedded-core@lists.openembedded.org
[-- Attachment #1: Type: text/plain, Size: 1958 bytes --]
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@windriver.com>
Sent: Sat, 21 Jun 2014 18:43:15
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
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>
>
>
>
[-- Attachment #2: Type: text/html, Size: 3817 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [bitbake-devel] Hi
@ 2014-06-25 9:23 Himanshu Pandey
2014-06-25 9:40 ` Robert Yang
0 siblings, 1 reply; 5+ messages in thread
From: Himanshu Pandey @ 2014-06-25 9:23 UTC (permalink / raw)
To: Robert Yang , openembedded-core@lists.openembedded.org
[-- Attachment #1: Type: text/plain, Size: 1956 bytes --]
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@windriver.com>
Sent: Sat, 21 Jun 2014 18:43:15
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
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>
>
>
>
[-- Attachment #2: Type: text/html, Size: 3813 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [bitbake-devel] Hi
2014-06-25 9:23 [bitbake-devel] Hi Himanshu Pandey
@ 2014-06-25 9:40 ` Robert Yang
0 siblings, 0 replies; 5+ messages in thread
From: Robert Yang @ 2014-06-25 9:40 UTC (permalink / raw)
To: Himanshu Pandey, openembedded-core@lists.openembedded.org
I think that you can add this to the image's recipe, or to conf/local.conf:
do_rootfs[postfuncs] += "<your script>"
Or you can add a task:
add task <your task> after do_rootfs before do_build
Please refer insane.bbclass or other classes in meta/classes for more info.
// Robert
On 06/25/2014 05:23 PM, Himanshu Pandey wrote:
> 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@windriver.com>
> Sent: Sat, 21 Jun 2014 18:43:15
> 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
>
> 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>
> >
> >
> >
>
> <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>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [bitbake-devel] Hi
2016-03-11 13:05 ` Hi Praveenreddy Padamati
@ 2016-03-14 6:59 ` Robert Yang
0 siblings, 0 replies; 5+ messages in thread
From: Robert Yang @ 2016-03-14 6:59 UTC (permalink / raw)
To: Praveenreddy Padamati; +Cc: Patches and discussions about the oe-core layer
Do you have a recipe for zetakey ? Something like zetakey_foo.bb ?
If don't you need write one and add it to a layer firstly. Here is
a QuickStart:
http://www.yoctoproject.org/docs/2.0.1/yocto-project-qs/yocto-project-qs.html
And this email should go into oe-core mailing list (See the CC).
// Robert
On 03/11/2016 09:05 PM, Praveenreddy Padamati wrote:
> Hi,
>
> I tried IMAGE_INSTALL_append = " zetakey". But it is failed. Below is the Log
>
> HCL-Desktop:~/fsl-release-bsp/build$ bitbake core-image-sato
> Parsing recipes: 100% |###############################################################################################| Time: 00:01:26
> Parsing of 1747 .bb files complete (0 cached, 1747 parsed). 2189 targets, 84 skipped, 1 masked, 0 errors.
> NOTE: Resolving any missing task queue dependencies
> ERROR: Nothing RPROVIDES 'zetakey' (but /home/kumarn/fsl-release-bsp/sources/poky/meta/recipes-sato/images/core-image-sato.bb RDEPENDS on or otherwise requires it)
> NOTE: Runtime target 'zetakey' is unbuildable, removing...
> Missing or unbuildable dependency chain was: ['zetakey']
> ERROR: Required build target 'core-image-sato' has no buildable providers.
> Missing or unbuildable dependency chain was: ['core-image-sato', 'zetakey']
>
> Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
>
>
> Thanks
> Praveen Reddy P
> 9989642189
> ________________________________________
> From: Robert Yang [liezhi.yang@windriver.com]
> Sent: Friday, March 11, 2016 8:52 AM
> To: Praveenreddy Padamati; 'bitbake-devel@lists.openembedded.org'
> Subject: Re: [bitbake-devel] Hi
>
> On 03/10/2016 03:10 PM, Praveenreddy Padamati wrote:
>> Hi all,
>>
>> I need to add zetakey browser to the yocto core-image-sato. Can you provide any
>> data how to add this browse to the build.
>
> Add this to local.conf:
>
> IMAGE_INSTALL_append = " zetakey"
>
> Note, there is a space " " which is a must, then:
>
> $ bitbake core-image-sato
>
>>
>> *Thanks and Regards,*
>>
>> *Praveen Reddy P**
>> **HCL Technologies Ltd*| Lead Engineer | Alstom ODC| ERS-SS-SCS-Embedded
>> Platform Lab
>>
>> P*hone:* +914443935173 | *Mobile:* +919989642159 | *E-mail:*
>> _praveenreddy.p@hcl.com <mailto:praveenreddy.p@hcl.com>_
>>
>> *Company address:*HCL Technologies Ltd ,73-74, South Phase,Ambattur Industrial
>> Estate (AMB-5), Chennai - 600 058,India
>> *Switchboard:*__+91-44-4393-5000 Web*Site:* www.hclt.com <http://www.hclt.com/>
>>
>>
>>
>> ::DISCLAIMER::
>> ----------------------------------------------------------------------------------------------------------------------------------------------------
>>
>> The contents of this e-mail and any attachment(s) are confidential and intended
>> for the named recipient(s) only.
>> E-mail transmission is not guaranteed to be secure or error-free as information
>> could be intercepted, corrupted,
>> lost, destroyed, arrive late or incomplete, or may contain viruses in
>> transmission. The e mail and its contents
>> (with or without referred errors) shall therefore not attach any liability on
>> the originator or HCL or its affiliates.
>> Views or opinions, if any, presented in this email are solely those of the
>> author and may not necessarily reflect the
>> views or opinions of HCL or its affiliates. Any form of reproduction,
>> dissemination, copying, disclosure, modification,
>> distribution and / or publication of this message without the prior written
>> consent of authorized representative of
>> HCL is strictly prohibited. If you have received this email in error please
>> delete it and notify the sender immediately.
>> Before opening any email and/or attachments, please check them for viruses and
>> other defects.
>>
>> ----------------------------------------------------------------------------------------------------------------------------------------------------
>>
>>
>>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-03-14 6:59 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-25 9:23 [bitbake-devel] Hi Himanshu Pandey
2014-06-25 9:40 ` Robert Yang
-- strict thread matches above, loose matches on Subject: below --
2016-03-10 7:10 Hi Praveenreddy Padamati
2016-03-11 3:22 ` Hi Robert Yang
2016-03-11 13:05 ` Hi Praveenreddy Padamati
2016-03-14 6:59 ` [bitbake-devel] Hi Robert Yang
2014-06-25 7:10 Himanshu Pandey
2014-06-21 12:26 Hi Himanshu Pandey
2014-06-21 13:13 ` [bitbake-devel] Hi Robert Yang
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.