Skip to contentSkip to conversation

How to update Git clone when rebuilding

DISCUSSION Tino Breddin 2 participants 3 messages Dec 20, 2012

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

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

Quoted 16 lines · Tino Breddin

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
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#2 lore raw

Hi Jerrod,

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

Thanks,
Tino

Quoted 33 lines · Jerrod Peach

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

Quoted 16 lines · Tino Breddin

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
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Signature · 17 lines
Tino Breddin
Technical Director

email: [email protected]
mobile: +49-151-27054995

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

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


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