Re: [yocto] How to execute a git submodule init/update?

2016-06-06 Thread Fred Ollinger
 $ git submodule init

 $ git submodule update


Also, there's git submodule foreach which allows you to do the same thing to 
each submodule (such as checkout a different branch).


Frederick


From: yocto-boun...@yoctoproject.org  on behalf 
of Burton, Ross 
Sent: Monday, June 6, 2016 3:06 AM
To: s.jar...@esa-grimma.de
Cc: yocto@yoctoproject.org
Subject: Re: [yocto] How to execute a git submodule init/update?


On 6 June 2016 at 10:39, 
mailto:s.jar...@esa-grimma.de>> wrote:
I have a git source which need some submodules. For that I need to execute "git 
submodule init" and "git submodule update". Any idea how to do it in a comon 
way?

Use the gitsm: fetcher, which will do that for you.

Ross
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] How to execute a git submodule init/update?

2016-06-06 Thread Christopher Larson
Use gitsm:// in your SRC_URI rather than git://.

On Mon, Jun 6, 2016 at 3:06 AM, Burton, Ross  wrote:

>
> On 6 June 2016 at 10:39,  wrote:
>
>> I have a git source which need some submodules. For that I need to
>> execute "git submodule init" and "git submodule update". Any idea how to do
>> it in a comon way?
>>
>
> Use the gitsm: fetcher, which will do that for you.
>
> Ross
>
> --
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>


-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] How to execute a git submodule init/update?

2016-06-06 Thread Burton, Ross
On 6 June 2016 at 10:39,  wrote:

> I have a git source which need some submodules. For that I need to execute
> "git submodule init" and "git submodule update". Any idea how to do it in a
> comon way?
>

Use the gitsm: fetcher, which will do that for you.

Ross
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] How to execute a git submodule init/update?

2016-06-06 Thread S . Jaritz
Hej

I have a git source which need some submodules. For that I need to execute 
"git submodule init" and "git submodule update". Any idea how to do it in 
a comon way?

Regards!

Stefan Jaritz


ESA Elektroschaltanlagen Grimma GmbH
Broner Ring 30
04668 Grimma
Telefon: +49 3437 9211 176
Telefax: +49 3437 9211 26
E-Mail: s.jar...@esa-grimma.de
Internet: www.esa-grimma.de


Geschäftsführer:
Dipl.-Ing. Jörg Gaitzsch
Jörg Reinker

Sitz der Gesellschaft: Grimma
Ust.-ID: DE 141784437
Amtsgericht: Leipzig, HRB 5159
Steuernummer: 238/108/00755


Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte 
Informationen. 
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich 
erhalten 
haben, informieren Sie bitte sofort den Absender und löschen Sie diese 
Nachricht. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser 
Mail 
ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you 
are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and destroy this e-mail. Any unauthorized 
copying, disclosure or distribution of the material in this e-mail is 
strictly 
forbidden.-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto