1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-02 01:19:52 +00:00

documentation/dev-manual/dev-manual-start.xml: Edits to YP files Git method

Added some clarity on where the poky Git repository comes from
with regard to the YP source repositories.

(From yocto-docs rev: 29c0b095daa39256b69cd35f744136d97a239cc3)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark
2012-02-17 15:36:02 -06:00
committed by Richard Purdie
parent 4dd2dc9886
commit bacff88df9
+14 -10
View File
@@ -69,8 +69,8 @@
are going to be contributing back into the Yocto Project source repository or not. are going to be contributing back into the Yocto Project source repository or not.
<note> <note>
Regardless of the method you use, this manual refers to the resulting Regardless of the method you use, this manual refers to the resulting
hierarchical set of files as "the Yocto Project files" or "the Yocto Project file hierarchical set of files as the "Yocto Project Files" or the "Yocto Project File
structure." Structure."
</note> </note>
<itemizedlist> <itemizedlist>
<listitem><para><emphasis>Tarball Extraction:</emphasis> If you are not going to contribute <listitem><para><emphasis>Tarball Extraction:</emphasis> If you are not going to contribute
@@ -89,17 +89,21 @@
tarball.</para></listitem> tarball.</para></listitem>
<listitem><para><emphasis>Git Repository Method:</emphasis> If you are going to be contributing <listitem><para><emphasis>Git Repository Method:</emphasis> If you are going to be contributing
back into the Yocto Project, you should use Git commands to set up a local back into the Yocto Project, you should use Git commands to set up a local
Git repository of the Yocto Project files. Git repository of the Yocto Project Files.
Doing so creates a Git repository with a complete history of changes and allows Doing so creates a Git repository with a complete history of changes and allows
you to easily submit your changes upstream to the project. you to easily submit your changes upstream to the project.
Because you cloned the repository, you have access to all the Yocto Project development Because you cloned the repository, you have access to all the Yocto Project development
branches and tag names used in the upstream repository.</para> branches and tag names used in the upstream repository.</para>
<para>The following transcript shows how to clone the Yocto Project files' <para>The following transcript shows how to clone the Yocto Project Files'
Git repository into the current working directory. Git repository into the current working directory.
The command creates the repository in a directory named <filename>poky</filename>. <note>The name of the Yocto Project Files Git repository in the Yocto Project Files
For information on the Yocto Project and Git, see the Source Repositories is <filename>poky</filename>.
"<link linkend='git'>Git</link>" section. You can view the Yocto Project Source Repositories at
<literallayout class='monospaced'> <ulink url='http://git.yoctoproject.org/cgit.cgi'></ulink></note>
The command creates the local repository in a directory named <filename>poky</filename>.
For information on Git used within the Yocto Project, see the
"<link linkend='git'>Git</link>" section.
<literallayout class='monospaced'>
$ git clone git://git.yoctoproject.org/poky $ git clone git://git.yoctoproject.org/poky
Initialized empty Git repository in /home/scottrif/poky/.git/ Initialized empty Git repository in /home/scottrif/poky/.git/
remote: Counting objects: 116882, done. remote: Counting objects: 116882, done.
@@ -107,7 +111,7 @@
remote: Total 116882 (delta 80651), reused 113045 (delta 77578) remote: Total 116882 (delta 80651), reused 113045 (delta 77578)
Receiving objects: 100% (116882/116882), 72.13 MiB | 2.68 MiB/s, done. Receiving objects: 100% (116882/116882), 72.13 MiB | 2.68 MiB/s, done.
Resolving deltas: 100% (80651/80651), done. </literallayout></para> Resolving deltas: 100% (80651/80651), done. </literallayout></para>
<para>For another example of how to set up your own local Git repositories, see this <para>For another example of how to set up your own local Git repositories, see this
<ulink url='https://wiki.yoctoproject.org/wiki/Transcript:_from_git_checkout_to_meta-intel_BSP'> <ulink url='https://wiki.yoctoproject.org/wiki/Transcript:_from_git_checkout_to_meta-intel_BSP'>
wiki page</ulink>, which describes how to create both <filename>poky</filename> wiki page</ulink>, which describes how to create both <filename>poky</filename>
and <filename>meta-intel</filename> Git repositories.</para></listitem> and <filename>meta-intel</filename> Git repositories.</para></listitem>