From: "Andrew Fish" <afish@apple.com>
To: "Gao, Liming" <liming.gao@intel.com>
Cc: "devel@edk2.groups.io" <devel@edk2.groups.io>,
"rebecca@bsdio.com" <rebecca@bsdio.com>
Subject: Re: [edk2-devel] git submodule update --init --recursive
Date: Mon, 26 Aug 2019 14:59:25 -0700 [thread overview]
Message-ID: <0ED23C22-D224-40E0-BB57-ACA8F1ABCEA1@apple.com> (raw)
In-Reply-To: <4A89E2EF3DFEDB4C8BFDE51014F606A14E4DC1E6@SHSMSX104.ccr.corp.intel.com>
[-- Attachment #1: Type: text/plain, Size: 1962 bytes --]
Liming,
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.
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.
>From TianoCore.org I followed this path:
https://www.tianocore.org/getting-started.html
https://github.com/tianocore/tianocore.github.io/wiki/Getting-Started-with-EDK-II
https://github.com/tianocore/tianocore.github.io/wiki/Windows-systems
or
https://github.com/tianocore/tianocore.github.io/wiki/Common-instructions-for-Unix
The git clone instructions don't include the "git submodule update --init" instructions and the OVMF build failed.
bash$ mkdir ~/src
bash$ cd ~/src
bash$ git clone https://github.com/tianocore/edk2
Thanks,
Andrew Fish
> On Aug 25, 2019, at 8:54 PM, Gao, Liming <liming.gao@intel.com> wrote:
>
> edk2\Readme.md Submodules section gives the command to update edk2 project.
>
> Thanks
> Liming
>> -----Original Message-----
>> From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of
>> rebecca@bsdio.com
>> Sent: Saturday, August 24, 2019 6:24 AM
>> To: devel@edk2.groups.io; afish@apple.com
>> Subject: Re: [edk2-devel] git submodule update --init --recursive
>>
>> On 2019-08-23 14:41, Andrew Fish via Groups.Io wrote:
>>> I was following the instructions on how to build OVMF and my build failed. It
>> looks like the reason it failed was because I did not do a `git submodule
>> update --init --recursive`. It would be good if we could make how to clone the
>> edk2 instructions a bit more obvious.
>>
>>
>> I think we came to the conclusion that "--recursive" isn't needed. But
>> I've found that there are cases where "--force" is required to make sure
>> git checks out a submodule correctly.
>>
>>
>> --
>> Rebecca Cran
>>
>>
>>
>
[-- Attachment #2: Type: text/html, Size: 4373 bytes --]
next prev parent reply other threads:[~2019-08-26 21:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-23 20:41 git submodule update --init --recursive Andrew Fish
2019-08-23 22:23 ` [edk2-devel] " rebecca
2019-08-26 3:54 ` Liming Gao
2019-08-26 21:59 ` Andrew Fish [this message]
2019-08-26 22:11 ` Michael D Kinney
2019-08-26 22:29 ` Andrew Fish
2019-08-27 13:37 ` Laszlo Ersek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0ED23C22-D224-40E0-BB57-ACA8F1ABCEA1@apple.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox