<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Liming,<div class=""><br class=""></div><div class="">I see the usage of Submodules is documented at the end of the Readme.md. I would not think of going to a Submodules section to figure out how to get started or clone the repo. </div><div class=""><br class=""></div><div class=""><div class="">I did not think of reading the full  Readme.md as most of it is about "How to Contribute to" not how to use the repo. </div><div class=""><br class=""></div></div><div class="">From <a href="http://TianoCore.org" class="">TianoCore.org</a> I followed this path:</div><div class=""><a href="https://www.tianocore.org/getting-started.html" class="">https://www.tianocore.org/getting-started.html</a></div><div class=""><a href="https://github.com/tianocore/tianocore.github.io/wiki/Getting-Started-with-EDK-II" class="">https://github.com/tianocore/tianocore.github.io/wiki/Getting-Started-with-EDK-II</a></div><div class=""><br class=""></div><div class=""><a href="https://github.com/tianocore/tianocore.github.io/wiki/Windows-systems" class="">https://github.com/tianocore/tianocore.github.io/wiki/Windows-systems</a></div><div class="">or</div><div class=""><a href="https://github.com/tianocore/tianocore.github.io/wiki/Common-instructions-for-Unix" class="">https://github.com/tianocore/tianocore.github.io/wiki/Common-instructions-for-Unix</a></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div class="">The git clone instructions don't include the "git submodule update --init" instructions and the OVMF build failed. </div><div class=""><br class=""></div></div><div class=""><pre style="box-sizing: border-box; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; font-size: 13.600000381469727px; margin-bottom: 16px; margin-top: 0px; word-wrap: normal; background-color: rgb(246, 248, 250); border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; line-height: 1.45; overflow: auto; padding: 16px; caret-color: rgb(36, 41, 46); color: rgb(36, 41, 46);" class="">bash$ mkdir ~/src
bash$ cd ~/src
bash$ git clone <a href="https://github.com/tianocore/edk2" class="">https://github.com/tianocore/edk2</a></pre><div class=""><br class=""></div><div>Thanks,</div><div><br class=""></div><div>Andrew Fish</div><div><br class=""><blockquote type="cite" class=""><div class="">On Aug 25, 2019, at 8:54 PM, Gao, Liming <<a href="mailto:liming.gao@intel.com" class="">liming.gao@intel.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">edk2\Readme.md Submodules section gives the command to update edk2 project. <br class=""><br class="">Thanks<br class="">Liming<br class=""><blockquote type="cite" class="">-----Original Message-----<br class="">From: <a href="mailto:devel@edk2.groups.io" class="">devel@edk2.groups.io</a> [<a href="mailto:devel@edk2.groups.io" class="">mailto:devel@edk2.groups.io</a>] On Behalf Of<br class=""><a href="mailto:rebecca@bsdio.com" class="">rebecca@bsdio.com</a><br class="">Sent: Saturday, August 24, 2019 6:24 AM<br class="">To: devel@edk2.groups.io; afish@apple.com<br class="">Subject: Re: [edk2-devel] git submodule update --init --recursive<br class=""><br class="">On 2019-08-23 14:41, Andrew Fish via Groups.Io wrote:<br class=""><blockquote type="cite" class="">I was following the instructions on how to build OVMF and my build failed. It<br class=""></blockquote>looks like the reason it failed was because I did not do a `git submodule<br class="">update --init --recursive`. It would be good if we could make how to clone the<br class="">edk2 instructions a bit more obvious.<br class=""><br class=""><br class="">I think we came to the conclusion that "--recursive" isn't needed. But<br class="">I've found that there are cases where "--force" is required to make sure<br class="">git checks out a submodule correctly.<br class=""><br class=""><br class="">--<br class="">Rebecca Cran<br class=""><br class=""><br class=""><br class=""></blockquote><br class=""></div></div></blockquote></div><br class=""></div></body></html>

<div width="1" style="color:white;clear:both">_._,_._,_</div>
<hr>
Groups.io Links:<p>

You receive all messages sent to this group.


<p>

<a target="_blank" href="https://edk2.groups.io/g/devel/message/46375">View/Reply Online (#46375)</a> |


  


|


  
    <a target="_blank" href="https://groups.io/mt/33005553/1813853">Mute This Topic</a>
  

| <a href="https://edk2.groups.io/g/devel/post">New Topic</a><br>



<br>

<a href="https://edk2.groups.io/g/devel/editsub/1813853">Your Subscription</a> |
<a href="mailto:devel+owner@edk2.groups.io">Contact Group Owner</a> |

<a href="https://edk2.groups.io/g/devel/unsub">Unsubscribe</a>

 [edk2-devel-archive@redhat.com]<br>
<div width="1" style="color:white;clear:both">_._,_._,_</div>