All of lore.kernel.org
 help / color / mirror / Atom feed
* How to update Git clone when rebuilding
@ 2012-12-20 15:34 Tino Breddin
  2012-12-20 15:38 ` Jerrod Peach
  0 siblings, 1 reply; 3+ messages in thread
From: Tino Breddin @ 2012-12-20 15:34 UTC (permalink / raw)
  To: yocto

Hi,

I've noticed that bitbake won't update a Git checkout of an
application referenced through a recipe when running a follow-up build.

Is there some way to tell bitbake to check whether the remote Git
repository provides updates which should trigger a rebuild of the
application?

Cheers,
Tino


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to update Git clone when rebuilding
  2012-12-20 15:34 How to update Git clone when rebuilding Tino Breddin
@ 2012-12-20 15:38 ` Jerrod Peach
  2012-12-20 16:03   ` Tino Breddin
  0 siblings, 1 reply; 3+ messages in thread
From: Jerrod Peach @ 2012-12-20 15:38 UTC (permalink / raw)
  To: Tino Breddin; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 869 bytes --]

Tino,

SRCREV = "${AUTOREV}"

You can read a little more about that in these two docs:

http://www.yoctoproject.org/docs/current/poky-ref-manual/poky-ref-manual.html#ref-variables-glossary
http://www.yoctoproject.org/docs/1.3/dev-manual/dev-manual.html#platdev-appdev-srcrev

Kind regards,

Jerrod


On Thu, Dec 20, 2012 at 10:34 AM, Tino Breddin <tb@travelping.com> wrote:

> Hi,
>
> I've noticed that bitbake won't update a Git checkout of an
> application referenced through a recipe when running a follow-up build.
>
> Is there some way to tell bitbake to check whether the remote Git
> repository provides updates which should trigger a rebuild of the
> application?
>
> Cheers,
> Tino
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>

[-- Attachment #2: Type: text/html, Size: 1654 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to update Git clone when rebuilding
  2012-12-20 15:38 ` Jerrod Peach
@ 2012-12-20 16:03   ` Tino Breddin
  0 siblings, 0 replies; 3+ messages in thread
From: Tino Breddin @ 2012-12-20 16:03 UTC (permalink / raw)
  To: Jerrod Peach; +Cc: yocto

Hi Jerrod,

That looks promising. Will try that once I can build again.

Thanks,
Tino

On 12/20/2012 04:38 PM, Jerrod Peach wrote:
> Tino,
> 
> SRCREV = "${AUTOREV}"
> 
> You can read a little more about that in these two docs:
> 
> http://www.yoctoproject.org/docs/current/poky-ref-manual/poky-ref-manual.html#ref-variables-glossary
> http://www.yoctoproject.org/docs/1.3/dev-manual/dev-manual.html#platdev-appdev-srcrev
> 
> Kind regards,
> 
> Jerrod
> 
> 
> On Thu, Dec 20, 2012 at 10:34 AM, Tino Breddin <tb@travelping.com> wrote:
> 
>> Hi,
>>
>> I've noticed that bitbake won't update a Git checkout of an
>> application referenced through a recipe when running a follow-up build.
>>
>> Is there some way to tell bitbake to check whether the remote Git
>> repository provides updates which should trigger a rebuild of the
>> application?
>>
>> Cheers,
>> Tino
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>
> 

-- 
Tino Breddin
Technical Director

email: tb@travelping.com
mobile: +49-151-27054995

------------------- enabling your networks -------------------

Travelping GmbH               phone:         +49-391-819099229
Roentgenstr. 13               fax:           +49-391-819099299
D-39108 Magdeburg             email:       info@travelping.com
GERMANY                       web:   http://www.travelping.com


Company Registration: Amtsgericht Stendal Reg No.:   HRB 10578
Geschaeftsfuehrer: Holger Winkelmann | VAT ID No.: DE236673780
--------------------------------------------------------------


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-12-20 16:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-20 15:34 How to update Git clone when rebuilding Tino Breddin
2012-12-20 15:38 ` Jerrod Peach
2012-12-20 16:03   ` Tino Breddin

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.