dev-manual-start.xml 58 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160
  1. <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
  2. "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
  3. [<!ENTITY % poky SYSTEM "../poky.ent"> %poky; ] >
  4. <chapter id='dev-manual-start'>
  5. <title>Setting Up to Use the Yocto Project</title>
  6. <para>
  7. This chapter provides procedures related to getting set up to use the
  8. Yocto Project.
  9. You can learn about creating a team environment that develops using the
  10. Yocto Project, how to set up a
  11. <ulink url='&YOCTO_DOCS_REF_URL;#hardware-build-system-term'>build host</ulink>,
  12. how to locate Yocto Project source repositories, and how to create local
  13. Git repositories.
  14. </para>
  15. <section id="usingpoky-changes-collaborate">
  16. <title>Creating a Team Development Environment</title>
  17. <para>
  18. It might not be immediately clear how you can use the Yocto
  19. Project in a team development environment, or how to scale it for a
  20. large team of developers.
  21. One of the strengths of the Yocto Project is that it is extremely
  22. flexible.
  23. Thus, you can adapt it to many different use cases and scenarios.
  24. However, this flexibility could cause difficulties if you are trying
  25. to create a working setup that scales across a large team.
  26. </para>
  27. <para>
  28. To help you understand how to set up this type of environment,
  29. this section presents a procedure that gives you information
  30. that can help you get the results you want.
  31. The procedure is high-level and presents some of the project's most
  32. successful experiences, practices, solutions, and available
  33. technologies that have proved to work well in the past.
  34. Keep in mind, the procedure here is a starting point.
  35. You can build off these steps and customize the procedure to fit any
  36. particular working environment and set of practices.
  37. <orderedlist>
  38. <listitem><para>
  39. <emphasis>Determine Who is Going to be Developing:</emphasis>
  40. You need to understand who is going to be doing anything
  41. related to the Yocto Project and what their roles would be.
  42. Making this determination is essential to completing
  43. steps two and three, which are to get your equipment together
  44. and set up your development environment's hardware topology.
  45. </para>
  46. <para>The following roles exist:
  47. <itemizedlist>
  48. <listitem><para>
  49. <emphasis>Application Developer:</emphasis>
  50. This type of developer does application level work
  51. on top of an existing software stack.
  52. </para></listitem>
  53. <listitem><para>
  54. <emphasis>Core System Developer:</emphasis>
  55. This type of developer works on the contents of the
  56. operating system image itself.
  57. </para></listitem>
  58. <listitem><para>
  59. <emphasis>Build Engineer:</emphasis>
  60. This type of developer manages Autobuilders and
  61. releases.
  62. Not all environments need a Build Engineer.
  63. </para></listitem>
  64. <listitem><para>
  65. <emphasis>Test Engineer:</emphasis>
  66. This type of developer creates and manages automated
  67. tests that are used to ensure all application and
  68. core system development meets desired quality
  69. standards.
  70. </para></listitem>
  71. </itemizedlist>
  72. </para></listitem>
  73. <listitem><para>
  74. <emphasis>Gather the Hardware:</emphasis>
  75. Based on the size and make-up of the team, get the hardware
  76. together.
  77. Ideally, any development, build, or test engineer uses
  78. a system that runs a supported Linux distribution.
  79. These systems, in general, should be high performance
  80. (e.g. dual, six-core Xeons with 24 Gbytes of RAM and plenty
  81. of disk space).
  82. You can help ensure efficiency by having any machines used
  83. for testing or that run Autobuilders be as high performance
  84. as possible.
  85. </para></listitem>
  86. <listitem><para>
  87. <emphasis>Understand the Hardware Topology of the Environment:</emphasis>
  88. Once you understand the hardware involved and the make-up
  89. of the team, you can understand the hardware topology of the
  90. development environment.
  91. You can get a visual idea of the machines and their roles
  92. across the development environment.
  93. <!--
  94. The following figure shows a moderately sized Yocto Project
  95. development environment.
  96. <para role="writernotes">
  97. Need figure.</para>
  98. -->
  99. </para></listitem>
  100. <listitem><para>
  101. <emphasis>Use Git as Your Source Control Manager (SCM):</emphasis>
  102. Keeping your
  103. <ulink url='&YOCTO_DOCS_REF_URL;#metadata'>Metadata</ulink>
  104. (i.e. recipes, configuration files, classes, and so forth)
  105. and any software you are developing under the control of an SCM
  106. system that is compatible with the OpenEmbedded build system
  107. is advisable.
  108. Of the SCMs BitBake supports, the Yocto Project team strongly
  109. recommends using
  110. <ulink url='&YOCTO_DOCS_OM_URL;#git'>Git</ulink>.
  111. Git is a distributed system that is easy to backup,
  112. allows you to work remotely, and then connects back to the
  113. infrastructure.
  114. <note>
  115. For information about BitBake, see the
  116. <ulink url='&YOCTO_DOCS_BB_URL;'>BitBake User Manual</ulink>.
  117. </note></para>
  118. <para>It is relatively easy to set up Git services and create
  119. infrastructure like
  120. <ulink url='&YOCTO_GIT_URL;'>http://git.yoctoproject.org</ulink>,
  121. which is based on server software called
  122. <filename>gitolite</filename> with <filename>cgit</filename>
  123. being used to generate the web interface that lets you view the
  124. repositories.
  125. The <filename>gitolite</filename> software identifies users
  126. using SSH keys and allows branch-based access controls to
  127. repositories that you can control as little or as much as
  128. necessary.
  129. <note>
  130. The setup of these services is beyond the scope of this
  131. manual.
  132. However, sites such as the following exist that describe
  133. how to perform setup:
  134. <itemizedlist>
  135. <listitem><para>
  136. <ulink url='http://git-scm.com/book/ch4-8.html'>Git documentation</ulink>:
  137. Describes how to install
  138. <filename>gitolite</filename> on the server.
  139. </para></listitem>
  140. <listitem><para>
  141. <ulink url='http://gitolite.com'>Gitolite</ulink>:
  142. Information for <filename>gitolite</filename>.
  143. </para></listitem>
  144. <listitem><para>
  145. <ulink url='https://git.wiki.kernel.org/index.php/Interfaces,_frontends,_and_tools'>Interfaces, frontends, and tools</ulink>:
  146. Documentation on how to create interfaces and
  147. frontends for Git.
  148. </para></listitem>
  149. </itemizedlist>
  150. </note>
  151. </para></listitem>
  152. <listitem><para>
  153. <emphasis>Set up the Application Development Machines:</emphasis>
  154. As mentioned earlier, application developers are creating
  155. applications on top of existing software stacks.
  156. Following are some best practices for setting up machines
  157. used for application development:
  158. <itemizedlist>
  159. <listitem><para>
  160. Use a pre-built toolchain that contains the software
  161. stack itself.
  162. Then, develop the application code on top of the
  163. stack.
  164. This method works well for small numbers of relatively
  165. isolated applications.
  166. </para></listitem>
  167. <listitem><para>
  168. When possible, use the Yocto Project plug-in for the
  169. <trademark class='trade'>Eclipse</trademark> IDE
  170. and SDK development practices.
  171. For more information, see the
  172. <ulink url='&YOCTO_DOCS_SDK_URL;'>Yocto Project Application Development and the Extensible Software Development Kit (eSDK)</ulink>
  173. manual.
  174. </para></listitem>
  175. <listitem><para>
  176. Keep your cross-development toolchains updated.
  177. You can do this through provisioning either as new
  178. toolchain downloads or as updates through a package
  179. update mechanism using <filename>opkg</filename>
  180. to provide updates to an existing toolchain.
  181. The exact mechanics of how and when to do this depend
  182. on local policy.
  183. </para></listitem>
  184. <listitem><para>
  185. Use multiple toolchains installed locally into
  186. different locations to allow development across
  187. versions.
  188. </para></listitem>
  189. </itemizedlist>
  190. </para></listitem>
  191. <listitem><para>
  192. <emphasis>Set up the Core Development Machines:</emphasis>
  193. As mentioned earlier, core developers work on the contents of
  194. the operating system itself.
  195. Following are some best practices for setting up machines
  196. used for developing images:
  197. <itemizedlist>
  198. <listitem><para>
  199. Have the
  200. <ulink url='&YOCTO_DOCS_REF_URL;#build-system-term'>OpenEmbedded build system</ulink>
  201. available on the developer workstations so developers
  202. can run their own builds and directly rebuild the
  203. software stack.
  204. </para></listitem>
  205. <listitem><para>
  206. Keep the core system unchanged as much as
  207. possible and do your work in layers on top of the
  208. core system.
  209. Doing so gives you a greater level of portability when
  210. upgrading to new versions of the core system or Board
  211. Support Packages (BSPs).
  212. </para></listitem>
  213. <listitem><para>
  214. Share layers amongst the developers of a
  215. particular project and contain the policy configuration
  216. that defines the project.
  217. </para></listitem>
  218. </itemizedlist>
  219. </para></listitem>
  220. <listitem><para>
  221. <emphasis>Set up an Autobuilder:</emphasis>
  222. Autobuilders are often the core of the development
  223. environment.
  224. It is here that changes from individual developers are brought
  225. together and centrally tested.
  226. Based on this automated build and test environment, subsequent
  227. decisions about releases can be made.
  228. Autobuilders also allow for "continuous integration" style
  229. testing of software components and regression identification
  230. and tracking.</para>
  231. <para>See "<ulink url='http://autobuilder.yoctoproject.org'>Yocto Project Autobuilder</ulink>"
  232. for more information and links to buildbot.
  233. The Yocto Project team has found this implementation
  234. works well in this role.
  235. A public example of this is the Yocto Project
  236. Autobuilders, which the Yocto Project team uses to test the
  237. overall health of the project.</para>
  238. <para>The features of this system are:
  239. <itemizedlist>
  240. <listitem><para>
  241. Highlights when commits break the build.
  242. </para></listitem>
  243. <listitem><para>
  244. Populates an
  245. <ulink url='&YOCTO_DOCS_OM_URL;#shared-state-cache'>sstate cache</ulink>
  246. from which developers can pull rather than requiring
  247. local builds.
  248. </para></listitem>
  249. <listitem><para>
  250. Allows commit hook triggers, which trigger builds when
  251. commits are made.
  252. </para></listitem>
  253. <listitem><para>
  254. Allows triggering of automated image booting
  255. and testing under the QuickEMUlator (QEMU).
  256. </para></listitem>
  257. <listitem><para>
  258. Supports incremental build testing and
  259. from-scratch builds.
  260. </para></listitem>
  261. <listitem><para>
  262. Shares output that allows developer
  263. testing and historical regression investigation.
  264. </para></listitem>
  265. <listitem><para>
  266. Creates output that can be used for releases.
  267. </para></listitem>
  268. <listitem><para>
  269. Allows scheduling of builds so that resources
  270. can be used efficiently.
  271. </para></listitem>
  272. </itemizedlist>
  273. </para></listitem>
  274. <listitem><para>
  275. <emphasis>Set up Test Machines:</emphasis>
  276. Use a small number of shared, high performance systems
  277. for testing purposes.
  278. Developers can use these systems for wider, more
  279. extensive testing while they continue to develop
  280. locally using their primary development system.
  281. </para></listitem>
  282. <listitem><para>
  283. <emphasis>Document Policies and Change Flow:</emphasis>
  284. The Yocto Project uses a hierarchical structure and a
  285. pull model.
  286. Scripts exist to create and send pull requests
  287. (i.e. <filename>create-pull-request</filename> and
  288. <filename>send-pull-request</filename>).
  289. This model is in line with other open source projects where
  290. maintainers are responsible for specific areas of the project
  291. and a single maintainer handles the final "top-of-tree" merges.
  292. <note>
  293. You can also use a more collective push model.
  294. The <filename>gitolite</filename> software supports both the
  295. push and pull models quite easily.
  296. </note></para>
  297. <para>As with any development environment, it is important
  298. to document the policy used as well as any main project
  299. guidelines so they are understood by everyone.
  300. It is also a good idea to have well structured
  301. commit messages, which are usually a part of a project's
  302. guidelines.
  303. Good commit messages are essential when looking back in time and
  304. trying to understand why changes were made.</para>
  305. <para>If you discover that changes are needed to the core
  306. layer of the project, it is worth sharing those with the
  307. community as soon as possible.
  308. Chances are if you have discovered the need for changes,
  309. someone else in the community needs them also.
  310. </para></listitem>
  311. <listitem><para>
  312. <emphasis>Development Environment Summary:</emphasis>
  313. Aside from the previous steps, some best practices exist
  314. within the Yocto Project development environment.
  315. Consider the following:
  316. <itemizedlist>
  317. <listitem><para>
  318. Use
  319. <ulink url='&YOCTO_DOCS_OM_URL;#git'>Git</ulink>
  320. as the source control system.
  321. </para></listitem>
  322. <listitem><para>
  323. Maintain your Metadata in layers that make sense
  324. for your situation.
  325. See the
  326. "<ulink url='&YOCTO_DOCS_OM_URL;#the-yocto-project-layer-model'>The Yocto Project Layer Model</ulink>"
  327. section in the Yocto Project Overview and Concepts
  328. Manual and the
  329. "<link linkend='understanding-and-creating-layers'>Understanding and Creating Layers</link>"
  330. section for more information on layers.
  331. </para></listitem>
  332. <listitem><para>
  333. Separate the project's Metadata and code by using
  334. separate Git repositories.
  335. See the
  336. "<ulink url='&YOCTO_DOCS_OM_URL;#yocto-project-repositories'>Yocto Project Source Repositories</ulink>"
  337. section in the Yocto Project Overview and Concepts
  338. Manual for information on these repositories.
  339. See the
  340. "<link linkend='locating-yocto-project-source-files'>Locating Yocto Project Source Files</link>"
  341. section for information on how to set up local Git
  342. repositories for related upstream Yocto Project
  343. Git repositories.
  344. </para></listitem>
  345. <listitem><para>
  346. Set up the directory for the shared state cache
  347. (<ulink url='&YOCTO_DOCS_REF_URL;#var-SSTATE_DIR'><filename>SSTATE_DIR</filename></ulink>)
  348. where it makes sense.
  349. For example, set up the sstate cache on a system used
  350. by developers in the same organization and share the
  351. same source directories on their machines.
  352. </para></listitem>
  353. <listitem><para>
  354. Set up an Autobuilder and have it populate the
  355. sstate cache and source directories.
  356. </para></listitem>
  357. <listitem><para>
  358. The Yocto Project community encourages you
  359. to send patches to the project to fix bugs or add
  360. features.
  361. If you do submit patches, follow the project commit
  362. guidelines for writing good commit messages.
  363. See the "<link linkend='how-to-submit-a-change'>Submitting a Change to the Yocto Project</link>"
  364. section.
  365. </para></listitem>
  366. <listitem><para>
  367. Send changes to the core sooner than later
  368. as others are likely to run into the same issues.
  369. For some guidance on mailing lists to use, see the list
  370. in the
  371. "<link linkend='how-to-submit-a-change'>Submitting a Change to the Yocto Project</link>"
  372. section.
  373. For a description of the available mailing lists, see
  374. the
  375. "<ulink url='&YOCTO_DOCS_REF_URL;#resources-mailinglist'>Mailing Lists</ulink>"
  376. section in the Yocto Project Reference Manual.
  377. </para></listitem>
  378. </itemizedlist>
  379. </para></listitem>
  380. </orderedlist>
  381. </para>
  382. </section>
  383. <section id='dev-preparing-the-build-host'>
  384. <title>Preparing the Build Host</title>
  385. <para>
  386. This section provides procedures to set up a system to be used as your
  387. <ulink url='&YOCTO_DOCS_REF_URL;#hardware-build-system-term'>build host</ulink>
  388. for development using the Yocto Project.
  389. Your build host can be a native Linux machine (recommended) or it can
  390. be a machine (Linux, Mac, or Windows) that uses
  391. <ulink url='https://git.yoctoproject.org/cgit/cgit.cgi/crops/about/'>CROPS</ulink>,
  392. which leverages
  393. <ulink url='https://www.docker.com/'>Docker Containers</ulink>.
  394. <note>
  395. You cannot use a build host that is using the
  396. <ulink url='https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux'>Windows Subsystem for Linux</ulink>
  397. (WSL).
  398. The Yocto Project is not compatible with WSL.
  399. </note>
  400. </para>
  401. <para>
  402. Once your build host is set up to use the Yocto Project,
  403. further steps are necessary depending on what you want to
  404. accomplish.
  405. See the following references for information on how to prepare for
  406. Board Support Package (BSP) development, kernel development, and
  407. development using the <trademark class='trade'>Eclipse</trademark> IDE:
  408. <itemizedlist>
  409. <listitem><para>
  410. <emphasis>BSP Development:</emphasis>
  411. See the
  412. "<ulink url='&YOCTO_DOCS_BSP_URL;#preparing-your-build-host-to-work-with-bsp-layers'>Preparing Your Build Host to Work With BSP Layers</ulink>"
  413. section in the Yocto Project Board Support Package (BSP)
  414. Developer's Guide.
  415. </para></listitem>
  416. <listitem><para>
  417. <emphasis>Kernel Development:</emphasis>
  418. See the
  419. "<ulink url='&YOCTO_DOCS_KERNEL_DEV_URL;#preparing-the-build-host-to-work-on-the-kernel'>Preparing the Build Host to Work on the Kernel</ulink>"
  420. section in the Yocto Project Linux Kernel Development Manual.
  421. </para></listitem>
  422. <listitem><para>
  423. <emphasis>Eclipse Development:</emphasis>
  424. See the
  425. "<ulink url='&YOCTO_DOCS_SDK_URL;#sdk-eclipse-project'>Developing Applications Using <trademark class='trade'>Eclipse</trademark></ulink>"
  426. Chapter in the Yocto Project Application Development and the
  427. Extensible Software Development Kit (eSDK) manual.
  428. </para></listitem>
  429. </itemizedlist>
  430. </para>
  431. <section id='setting-up-a-native-linux-host'>
  432. <title>Setting Up a Native Linux Host</title>
  433. <para>
  434. Follow these steps to prepare a native Linux machine as your
  435. Yocto Project Build Host:
  436. <orderedlist>
  437. <listitem><para>
  438. <emphasis>Use a Supported Linux Distribution:</emphasis>
  439. You should have a reasonably current Linux-based host
  440. system.
  441. You will have the best results with a recent release of
  442. Fedora, openSUSE, Debian, Ubuntu, or CentOS as these
  443. releases are frequently tested against the Yocto Project
  444. and officially supported.
  445. For a list of the distributions under validation and their
  446. status, see the
  447. "<ulink url='&YOCTO_DOCS_REF_URL;#detailed-supported-distros'>Supported Linux Distributions</ulink>" section
  448. in the Yocto Project Reference Manual and the wiki page at
  449. <ulink url='&YOCTO_WIKI_URL;/wiki/Distribution_Support'>Distribution Support</ulink>.
  450. </para></listitem>
  451. <listitem><para>
  452. <emphasis>Have Enough Free Memory:</emphasis>
  453. Your system should have at least 50 Gbytes of free disk
  454. space for building images.
  455. </para></listitem>
  456. <listitem><para>
  457. <emphasis>Meet Minimal Version Requirements:</emphasis>
  458. The OpenEmbedded build system should be able to run on any
  459. modern distribution that has the following versions for
  460. Git, tar, and Python.
  461. <itemizedlist>
  462. <listitem><para>
  463. Git 1.8.3.1 or greater
  464. </para></listitem>
  465. <listitem><para>
  466. tar 1.27 or greater
  467. </para></listitem>
  468. <listitem><para>
  469. Python 3.4.0 or greater.
  470. </para></listitem>
  471. </itemizedlist>
  472. If your build host does not meet any of these three listed
  473. version requirements, you can take steps to prepare the
  474. system so that you can still use the Yocto Project.
  475. See the
  476. "<ulink url='&YOCTO_DOCS_REF_URL;#required-git-tar-and-python-versions'>Required Git, tar, and Python Versions</ulink>"
  477. section in the Yocto Project Reference Manual for
  478. information.
  479. </para></listitem>
  480. <listitem><para>
  481. <emphasis>Install Development Host Packages:</emphasis>
  482. Required development host packages vary depending on your
  483. build host and what you want to do with the Yocto
  484. Project.
  485. Collectively, the number of required packages is large
  486. if you want to be able to cover all cases.</para>
  487. <para>For lists of required packages for all scenarios,
  488. see the
  489. "<ulink url='&YOCTO_DOCS_REF_URL;#required-packages-for-the-build-host'>Required Packages for the Build Host</ulink>"
  490. section in the Yocto Project Reference Manual.
  491. </para></listitem>
  492. </orderedlist>
  493. Once you have completed the previous steps, you are ready to
  494. continue using a given development path on your native Linux
  495. machine.
  496. If you are going to use BitBake, see the
  497. "<link linkend='cloning-the-poky-repository'>Cloning the <filename>poky</filename> Repository</link>"
  498. section.
  499. If you are going to use the Extensible SDK, see the
  500. "<ulink url='&YOCTO_DOCS_SDK_URL;#sdk-extensible'>Using the Extensible SDK</ulink>"
  501. Chapter in the Yocto Project Application Development and the
  502. Extensible Software Development Kit (eSDK) manual.
  503. If you want to work on the kernel, see the
  504. <ulink url='&YOCTO_DOCS_KERNEL_DEV_URL;'>Yocto Project Linux Kernel Development Manual</ulink>.
  505. If you are going to use Toaster, see the
  506. "<ulink url='&YOCTO_DOCS_TOAST_URL;#toaster-manual-setup-and-use'>Setting Up and Using Toaster</ulink>"
  507. section in the Toaster User Manual.
  508. </para>
  509. </section>
  510. <section id='setting-up-to-use-crops'>
  511. <title>Setting Up to Use CROss PlatformS (CROPS)</title>
  512. <para>
  513. With
  514. <ulink url='https://github.com/crops/crops/blob/master/README.md'>CROPS</ulink>,
  515. which leverages
  516. <ulink url='https://www.docker.com/'>Docker Containers</ulink>,
  517. you can create a Yocto Project development environment that
  518. is operating system agnostic.
  519. You can set up a container in which you can develop using the
  520. Yocto Project on a Windows, Mac, or Linux machine.
  521. </para>
  522. <para>
  523. Follow these general steps to prepare a Windows, Mac, or Linux
  524. machine as your Yocto Project build host:
  525. <orderedlist>
  526. <listitem><para>
  527. <emphasis>Determine What Your Build Host Needs:</emphasis>
  528. <ulink url='https://www.docker.com/what-docker'>Docker</ulink>
  529. is a software container platform that you need to install
  530. on the build host.
  531. Depending on your build host, you might have to install
  532. different software to support Docker containers.
  533. Go to the Docker installation page and read about the
  534. platform requirements in
  535. "<ulink url='https://docs.docker.com/install/#supported-platforms'>Supported Platforms</ulink>"
  536. your build host needs to run containers.
  537. </para></listitem>
  538. <listitem><para>
  539. <emphasis>Choose What To Install:</emphasis>
  540. Depending on whether or not your build host meets system
  541. requirements, you need to install "Docker CE Stable" or
  542. the "Docker Toolbox".
  543. Most situations call for Docker CE.
  544. However, if you have a build host that does not meet
  545. requirements (e.g. Pre-Windows 10 or Windows 10 "Home"
  546. version), you must install Docker Toolbox instead.
  547. </para></listitem>
  548. <listitem><para>
  549. <emphasis>Go to the Install Site for Your Platform:</emphasis>
  550. Click the link for the Docker edition associated with
  551. your build host's native software.
  552. For example, if your build host is running Microsoft
  553. Windows Version 10 and you want the Docker CE Stable
  554. edition, click that link under "Supported Platforms".
  555. </para></listitem>
  556. <listitem><para>
  557. <emphasis>Install the Software:</emphasis>
  558. Once you have understood all the pre-requisites, you can
  559. download and install the appropriate software.
  560. Follow the instructions for your specific machine and
  561. the type of the software you need to install:
  562. <itemizedlist>
  563. <listitem><para>
  564. Install
  565. <ulink url='https://docs.docker.com/docker-for-windows/install/#install-docker-for-windows-desktop-app'>Docker CE for Windows</ulink>
  566. for Windows build hosts that meet requirements.
  567. </para></listitem>
  568. <listitem><para>
  569. Install
  570. <ulink url='https://docs.docker.com/docker-for-mac/install/#install-and-run-docker-for-mac'>Docker CE for Macs</ulink>
  571. for Mac build hosts that meet requirements.
  572. </para></listitem>
  573. <listitem><para>
  574. Install
  575. <ulink url='https://docs.docker.com/toolbox/toolbox_install_windows/'>Docker Toolbox for Windows</ulink>
  576. for Windows build hosts that do not meet Docker
  577. requirements.
  578. </para></listitem>
  579. <listitem><para>
  580. Install
  581. <ulink url='https://docs.docker.com/toolbox/toolbox_install_mac/'>Docker Toolbox for MacOS</ulink>
  582. for Mac build hosts that do not meet Docker
  583. requirements.
  584. </para></listitem>
  585. <listitem><para>
  586. Install
  587. <ulink url='https://docs.docker.com/install/linux/docker-ce/centos/'>Docker CE for CentOS</ulink>
  588. for Linux build hosts running the CentOS
  589. distribution.
  590. </para></listitem>
  591. <listitem><para>
  592. Install
  593. <ulink url='https://docs.docker.com/install/linux/docker-ce/debian/'>Docker CE for Debian</ulink>
  594. for Linux build hosts running the Debian
  595. distribution.
  596. </para></listitem>
  597. <listitem><para>
  598. Install
  599. <ulink url='https://docs.docker.com/install/linux/docker-ce/fedora/'>Docker CE for Fedora</ulink>
  600. for Linux build hosts running the Fedora
  601. distribution.
  602. </para></listitem>
  603. <listitem><para>
  604. Install
  605. <ulink url='https://docs.docker.com/install/linux/docker-ce/ubuntu/'>Docker CE for Ubuntu</ulink>
  606. for Linux build hosts running the Ubuntu
  607. distribution.
  608. </para></listitem>
  609. </itemizedlist>
  610. </para></listitem>
  611. <listitem><para>
  612. <emphasis>Optionally Orient Yourself With Docker:</emphasis>
  613. If you are unfamiliar with Docker and the container
  614. concept, you can learn more here -
  615. <ulink url='https://docs.docker.com/get-started/'></ulink>.
  616. </para></listitem>
  617. <listitem><para>
  618. <emphasis>Launch Docker or Docker Toolbox:</emphasis>
  619. You should be able to launch Docker or the Docker Toolbox
  620. and have a terminal shell on your development host.
  621. </para></listitem>
  622. <listitem><para>
  623. <emphasis>Set Up the Containers to Use the Yocto Project:</emphasis>
  624. Go to
  625. <ulink url='https://github.com/crops/docker-win-mac-docs/wiki'></ulink>
  626. and follow the directions for your particular
  627. build host (i.e. Linux, Mac, or Windows).</para>
  628. <para>Once you complete the setup instructions for your
  629. machine, you have the Poky, Extensible SDK, and Toaster
  630. containers available.
  631. You can click those links from the page and learn more
  632. about using each of those containers.
  633. </para></listitem>
  634. </orderedlist>
  635. Once you have a container set up, everything is in place to
  636. develop just as if you were running on a native Linux machine.
  637. If you are going to use the Poky container, see the
  638. "<link linkend='cloning-the-poky-repository'>Cloning the <filename>poky</filename> Repository</link>"
  639. section.
  640. If you are going to use the Extensible SDK container, see the
  641. "<ulink url='&YOCTO_DOCS_SDK_URL;#sdk-extensible'>Using the Extensible SDK</ulink>"
  642. Chapter in the Yocto Project Application Development and the
  643. Extensible Software Development Kit (eSDK) manual.
  644. If you are going to use the Toaster container, see the
  645. "<ulink url='&YOCTO_DOCS_TOAST_URL;#toaster-manual-setup-and-use'>Setting Up and Using Toaster</ulink>"
  646. section in the Toaster User Manual.
  647. </para>
  648. </section>
  649. </section>
  650. <section id='locating-yocto-project-source-files'>
  651. <title>Locating Yocto Project Source Files</title>
  652. <para>
  653. This section shows you how to locate and access the
  654. source files that ship with the Yocto Project.
  655. You establish and use these local files to work on projects.
  656. <note><title>Notes</title>
  657. <itemizedlist>
  658. <listitem><para>
  659. For concepts and introductory information about Git as it
  660. is used in the Yocto Project, see the
  661. "<ulink url='&YOCTO_DOCS_OM_URL;#git'>Git</ulink>"
  662. section in the Yocto Project Overview and Concepts Manual.
  663. </para></listitem>
  664. <listitem><para>
  665. For concepts on Yocto Project source repositories, see the
  666. "<ulink url='&YOCTO_DOCS_OM_URL;#yocto-project-repositories'>Yocto Project Source Repositories</ulink>"
  667. section in the Yocto Project Overview and Concepts Manual."
  668. </para></listitem>
  669. </itemizedlist>
  670. </note>
  671. </para>
  672. <section id='accessing-source-repositories'>
  673. <title>Accessing Source Repositories</title>
  674. <para>
  675. Working from a copy of the upstream Yocto Project
  676. <ulink url='&YOCTO_DOCS_OM_URL;#source-repositories'>Source Repositories</ulink>
  677. is the preferred method for obtaining and using a Yocto Project
  678. release.
  679. You can view the Yocto Project Source Repositories at
  680. <ulink url='&YOCTO_GIT_URL;'></ulink>.
  681. In particular, you can find the
  682. <filename>poky</filename> repository at
  683. <ulink url='http://git.yoctoproject.org/cgit/cgit.cgi/poky/'></ulink>.
  684. </para>
  685. <para>
  686. Use the following procedure to locate the latest upstream copy of
  687. the <filename>poky</filename> Git repository:
  688. <orderedlist>
  689. <listitem><para>
  690. <emphasis>Access Repositories:</emphasis>
  691. Open a browser and go to
  692. <ulink url='&YOCTO_GIT_URL;'></ulink> to access the
  693. GUI-based interface into the Yocto Project source
  694. repositories.
  695. </para></listitem>
  696. <listitem><para>
  697. <emphasis>Select the Repository:</emphasis>
  698. Click on the repository in which you are interested (e.g.
  699. <filename>poky</filename>).
  700. </para></listitem>
  701. <listitem><para>
  702. <emphasis>Find the URL Used to Clone the Repository:</emphasis>
  703. At the bottom of the page, note the URL used to
  704. <ulink url='&YOCTO_DOCS_OM_URL;#git-commands-clone'>clone</ulink>
  705. that repository (e.g.
  706. <filename>&YOCTO_GIT_URL;/poky</filename>).
  707. <note>
  708. For information on cloning a repository, see the
  709. "<link linkend='cloning-the-poky-repository'>Cloning the <filename>poky</filename> Repository</link>"
  710. section.
  711. </note>
  712. </para></listitem>
  713. </orderedlist>
  714. </para>
  715. </section>
  716. <section id='accessing-index-of-releases'>
  717. <title>Accessing Index of Releases</title>
  718. <para>
  719. Yocto Project maintains an Index of Releases area that contains
  720. related files that contribute to the Yocto Project.
  721. Rather than Git repositories, these files are tarballs that
  722. represent snapshots in time of a given component.
  723. <note><title>Tip</title>
  724. The recommended method for accessing Yocto Project
  725. components is to use Git to clone the upstream repository and
  726. work from within that locally cloned repository.
  727. The procedure in this section exists should you desire a
  728. tarball snapshot of any given component.
  729. </note>
  730. Follow these steps to locate and download a particular tarball:
  731. <orderedlist>
  732. <listitem><para>
  733. <emphasis>Access the Index of Releases:</emphasis>
  734. Open a browser and go to
  735. <ulink url='&YOCTO_DL_URL;/releases'></ulink> to access the
  736. Index of Releases.
  737. The list represents released components (e.g.
  738. <filename>eclipse-plugin</filename>,
  739. <filename>sato</filename>, and so on).
  740. <note>
  741. The <filename>yocto</filename> directory contains the
  742. full array of released Poky tarballs.
  743. The <filename>poky</filename> directory in the
  744. Index of Releases was historically used for very
  745. early releases and exists now only for retroactive
  746. completeness.
  747. </note>
  748. </para></listitem>
  749. <listitem><para>
  750. <emphasis>Select a Component:</emphasis>
  751. Click on any released component in which you are interested
  752. (e.g. <filename>yocto</filename>).
  753. </para></listitem>
  754. <listitem><para>
  755. <emphasis>Find the Tarball:</emphasis>
  756. Drill down to find the associated tarball.
  757. For example, click on <filename>yocto-&DISTRO;</filename> to
  758. view files associated with the Yocto Project &DISTRO;
  759. release (e.g. <filename>poky-&DISTRO_NAME_NO_CAP;-&POKYVERSION;.tar.bz2</filename>,
  760. which is the released Poky tarball).
  761. </para></listitem>
  762. <listitem><para>
  763. <emphasis>Download the Tarball:</emphasis>
  764. Click the tarball to download and save a snapshot of the
  765. given component.
  766. </para></listitem>
  767. </orderedlist>
  768. </para>
  769. </section>
  770. <section id='using-the-downloads-page'>
  771. <title>Using the Downloads Page</title>
  772. <para>
  773. The
  774. <ulink url='&YOCTO_HOME_URL;'>Yocto Project Website</ulink>
  775. uses a "DOWNLOADS" page from which you can locate and download
  776. tarballs of any Yocto Project release.
  777. Rather than Git repositories, these files represent snapshot
  778. tarballs similar to the tarballs located in the Index of Releases
  779. described in the
  780. "<link linkend='accessing-index-of-releases'>Accessing Index of Releases</link>"
  781. section.
  782. <note><title>Tip</title>
  783. The recommended method for accessing Yocto Project
  784. components is to use Git to clone a repository and work from
  785. within that local repository.
  786. The procedure in this section exists should you desire a
  787. tarball snapshot of any given component.
  788. </note>
  789. <orderedlist>
  790. <listitem><para>
  791. <emphasis>Go to the Yocto Project Website:</emphasis>
  792. Open The
  793. <ulink url='&YOCTO_HOME_URL;'>Yocto Project Website</ulink>
  794. in your browser.
  795. </para></listitem>
  796. <listitem><para>
  797. <emphasis>Get to the Downloads Area:</emphasis>
  798. Select the "DOWNLOADS" item from the pull-down
  799. "SOFTWARE" tab menu near the top of the page.
  800. </para></listitem>
  801. <listitem><para>
  802. <emphasis>Select a Yocto Project Release:</emphasis>
  803. Use the menu next to "RELEASE" to display and choose
  804. a recent or past supported Yocto Project release
  805. (e.g. &DISTRO_NAME_NO_CAP;,
  806. &DISTRO_NAME_NO_CAP_MINUS_ONE;, and so forth).
  807. <note><title>Tip</title>
  808. For a "map" of Yocto Project releases to version
  809. numbers, see the
  810. <ulink url='https://wiki.yoctoproject.org/wiki/Releases'>Releases</ulink>
  811. wiki page.
  812. </note>
  813. You can use the "RELEASE ARCHIVE" link to reveal a menu of
  814. all Yocto Project releases.
  815. </para></listitem>
  816. <listitem><para>
  817. <emphasis>Download Tools or Board Support Packages (BSPs):</emphasis>
  818. From the "DOWNLOADS" page, you can download tools or
  819. BSPs as well.
  820. Just scroll down the page and look for what you need.
  821. </para></listitem>
  822. </orderedlist>
  823. </para>
  824. </section>
  825. <section id='accessing-nightly-builds'>
  826. <title>Accessing Nightly Builds</title>
  827. <para>
  828. Yocto Project maintains an area for nightly builds that contains
  829. tarball releases at <ulink url='&YOCTO_AB_NIGHTLY_URL;'/>.
  830. These builds include Yocto Project releases ("poky"),
  831. toolchains, Yocto Project plugins for Eclipse, and builds for
  832. supported machines.
  833. </para>
  834. <para>
  835. Should you ever want to access a nightly build of a particular
  836. Yocto Project component, use the following procedure:
  837. <orderedlist>
  838. <listitem><para>
  839. <emphasis>Locate the Index of Nightly Builds:</emphasis>
  840. Open a browser and go to
  841. <ulink url='&YOCTO_AB_NIGHTLY_URL;'/> to access the
  842. Nightly Builds.
  843. </para></listitem>
  844. <listitem><para>
  845. <emphasis>Select a Date:</emphasis>
  846. Click on the date in which you are interested.
  847. If you want the latest builds, use "CURRENT".
  848. </para></listitem>
  849. <listitem><para>
  850. <emphasis>Select a Build:</emphasis>
  851. Choose the area in which you are interested.
  852. For example, if you are looking for the most recent
  853. toolchains, select the "toolchain" link.
  854. </para></listitem>
  855. <listitem><para>
  856. <emphasis>Find the Tarball:</emphasis>
  857. Drill down to find the associated tarball.
  858. </para></listitem>
  859. <listitem><para>
  860. <emphasis>Download the Tarball:</emphasis>
  861. Click the tarball to download and save a snapshot of the
  862. given component.
  863. </para></listitem>
  864. </orderedlist>
  865. </para>
  866. </section>
  867. </section>
  868. <section id='cloning-and-checking-out-branches'>
  869. <title>Cloning and Checking Out Branches</title>
  870. <para>
  871. To use the Yocto Project for development, you need a release locally
  872. installed on your development system.
  873. This locally installed set of files is referred to as the
  874. <ulink url='&YOCTO_DOCS_REF_URL;#source-directory'>Source Directory</ulink>
  875. in the Yocto Project documentation.
  876. </para>
  877. <para>
  878. The preferred method of creating your Source Directory is by using
  879. <ulink url='&YOCTO_DOCS_OM_URL;#git'>Git</ulink> to clone a local
  880. copy of the upstream <filename>poky</filename> repository.
  881. Working from a cloned copy of the upstream repository allows you
  882. to contribute back into the Yocto Project or to simply work with
  883. the latest software on a development branch.
  884. Because Git maintains and creates an upstream repository with
  885. a complete history of changes and you are working with a local
  886. clone of that repository, you have access to all the Yocto
  887. Project development branches and tag names used in the upstream
  888. repository.
  889. </para>
  890. <section id='cloning-the-poky-repository'>
  891. <title>Cloning the <filename>poky</filename> Repository</title>
  892. <para>
  893. Follow these steps to create a local version of the
  894. upstream
  895. <ulink url='&YOCTO_DOCS_REF_URL;#poky'><filename>poky</filename></ulink>
  896. Git repository.
  897. <orderedlist>
  898. <listitem><para>
  899. <emphasis>Set Your Directory:</emphasis>
  900. Change your working directory to where you want to
  901. create your local copy of
  902. <filename>poky</filename>.
  903. </para></listitem>
  904. <listitem><para>
  905. <emphasis>Clone the Repository:</emphasis>
  906. The following example command clones the
  907. <filename>poky</filename> repository and uses
  908. the default name "poky" for your local repository:
  909. <literallayout class='monospaced'>
  910. $ git clone git://git.yoctoproject.org/poky
  911. Cloning into 'poky'...
  912. remote: Counting objects: 416542, done.
  913. remote: Compressing objects: 100% (98611/98611), done.
  914. remote: Total 416542 (delta 311104), reused 416377 (delta 310939)
  915. Receiving objects: 100% (416542/416542), 150.39 MiB | 15.77 MiB/s, done.
  916. Resolving deltas: 100% (311104/311104), done.
  917. Checking connectivity... done.
  918. </literallayout>
  919. Unless you specify a specific development branch or
  920. tag name, Git clones the "master" branch, which results
  921. in a snapshot of the latest development changes for
  922. "master".
  923. For information on how to check out a specific
  924. development branch or on how to check out a local
  925. branch based on a tag name, see the
  926. "<link linkend='checking-out-by-branch-in-poky'>Checking Out By Branch in Poky</link>"
  927. and
  928. <link linkend='checkout-out-by-tag-in-poky'>Checking Out By Tag in Poky</link>"
  929. sections, respectively.</para>
  930. <para>Once the local repository is created, you can
  931. change to that directory and check its status.
  932. Here, the single "master" branch exists on your system
  933. and by default, it is checked out:
  934. <literallayout class='monospaced'>
  935. $ cd ~/poky
  936. $ git status
  937. On branch master
  938. Your branch is up-to-date with 'origin/master'.
  939. nothing to commit, working directory clean
  940. $ git branch
  941. * master
  942. </literallayout>
  943. Your local repository of poky is identical to the
  944. upstream poky repository at the time from which it was
  945. cloned.
  946. As you work with the local branch, you can periodically
  947. use the <filename>git pull &dash;&dash;rebase</filename>
  948. command to be sure you are up-to-date with the upstream
  949. branch.
  950. </para></listitem>
  951. </orderedlist>
  952. </para>
  953. </section>
  954. <section id='checking-out-by-branch-in-poky'>
  955. <title>Checking Out by Branch in Poky</title>
  956. <para>
  957. When you clone the upstream poky repository, you have access to
  958. all its development branches.
  959. Each development branch in a repository is unique as it forks
  960. off the "master" branch.
  961. To see and use the files of a particular development branch
  962. locally, you need to know the branch name and then specifically
  963. check out that development branch.
  964. <note>
  965. Checking out an active development branch by branch name
  966. gives you a snapshot of that particular branch at the time
  967. you check it out.
  968. Further development on top of the branch that occurs after
  969. check it out can occur.
  970. </note>
  971. <orderedlist>
  972. <listitem><para>
  973. <emphasis>Switch to the Poky Directory:</emphasis>
  974. If you have a local poky Git repository, switch to that
  975. directory.
  976. If you do not have the local copy of poky, see the
  977. "<link linkend='cloning-the-poky-repository'>Cloning the <filename>poky</filename> Repository</link>"
  978. section.
  979. </para></listitem>
  980. <listitem><para>
  981. <emphasis>Determine Existing Branch Names:</emphasis>
  982. <literallayout class='monospaced'>
  983. $ git branch -a
  984. * master
  985. remotes/origin/1.1_M1
  986. remotes/origin/1.1_M2
  987. remotes/origin/1.1_M3
  988. remotes/origin/1.1_M4
  989. remotes/origin/1.2_M1
  990. remotes/origin/1.2_M2
  991. remotes/origin/1.2_M3
  992. .
  993. .
  994. .
  995. remotes/origin/master-next
  996. remotes/origin/master-next2
  997. remotes/origin/morty
  998. remotes/origin/pinky
  999. remotes/origin/purple
  1000. remotes/origin/pyro
  1001. remotes/origin/rocko
  1002. </literallayout>
  1003. </para></listitem>
  1004. <listitem><para>
  1005. <emphasis>Checkout the Branch:</emphasis>
  1006. Checkout the development branch in which you want to work.
  1007. For example, to access the files for the Yocto Project
  1008. &DISTRO; Release (&DISTRO_NAME;), use the following command:
  1009. <literallayout class='monospaced'>
  1010. $ git checkout -b &DISTRO_NAME_NO_CAP; origin/&DISTRO_NAME_NO_CAP;
  1011. Branch &DISTRO_NAME_NO_CAP; set up to track remote branch &DISTRO_NAME_NO_CAP; from origin.
  1012. Switched to a new branch '&DISTRO_NAME_NO_CAP;'
  1013. </literallayout>
  1014. The previous command checks out the "&DISTRO_NAME_NO_CAP;"
  1015. development branch and reports that the branch is tracking
  1016. the upstream "origin/&DISTRO_NAME_NO_CAP;" branch.</para>
  1017. <para>The following command displays the branches
  1018. that are now part of your local poky repository.
  1019. The asterisk character indicates the branch that is
  1020. currently checked out for work:
  1021. <literallayout class='monospaced'>
  1022. $ git branch
  1023. master
  1024. * &DISTRO_NAME_NO_CAP;
  1025. </literallayout>
  1026. </para></listitem>
  1027. </orderedlist>
  1028. </para>
  1029. </section>
  1030. <section id='checkout-out-by-tag-in-poky'>
  1031. <title>Checking Out by Tag in Poky</title>
  1032. <para>
  1033. Similar to branches, the upstream repository uses tags
  1034. to mark specific commits associated with significant points in
  1035. a development branch (i.e. a release point or stage of a
  1036. release).
  1037. You might want to set up a local branch based on one of those
  1038. points in the repository.
  1039. The process is similar to checking out by branch name except you
  1040. use tag names.
  1041. <note>
  1042. Checking out a branch based on a tag gives you a
  1043. stable set of files not affected by development on the
  1044. branch above the tag.
  1045. </note>
  1046. <orderedlist>
  1047. <listitem><para>
  1048. <emphasis>Switch to the Poky Directory:</emphasis>
  1049. If you have a local poky Git repository, switch to that
  1050. directory.
  1051. If you do not have the local copy of poky, see the
  1052. "<link linkend='cloning-the-poky-repository'>Cloning the <filename>poky</filename> Repository</link>"
  1053. section.
  1054. </para></listitem>
  1055. <listitem><para>
  1056. <emphasis>Fetch the Tag Names:</emphasis>
  1057. To checkout the branch based on a tag name, you need to
  1058. fetch the upstream tags into your local repository:
  1059. <literallayout class='monospaced'>
  1060. $ git fetch --tags
  1061. $
  1062. </literallayout>
  1063. </para></listitem>
  1064. <listitem><para>
  1065. <emphasis>List the Tag Names:</emphasis>
  1066. You can list the tag names now:
  1067. <literallayout class='monospaced'>
  1068. $ git tag
  1069. 1.1_M1.final
  1070. 1.1_M1.rc1
  1071. 1.1_M1.rc2
  1072. 1.1_M2.final
  1073. 1.1_M2.rc1
  1074. .
  1075. .
  1076. .
  1077. yocto-2.5
  1078. yocto-2.5.1
  1079. yocto-2.5.2
  1080. yocto-2.6
  1081. yocto-2.6.1
  1082. yocto_1.5_M5.rc8
  1083. </literallayout>
  1084. </para></listitem>
  1085. <listitem><para>
  1086. <emphasis>Checkout the Branch:</emphasis>
  1087. <literallayout class='monospaced'>
  1088. $ git checkout tags/&DISTRO_REL_TAG; -b my_yocto_&DISTRO;
  1089. Switched to a new branch 'my_yocto_&DISTRO;'
  1090. $ git branch
  1091. master
  1092. * my_yocto_&DISTRO;
  1093. </literallayout>
  1094. The previous command creates and checks out a local
  1095. branch named "my_yocto_&DISTRO;", which is based on
  1096. the commit in the upstream poky repository that has
  1097. the same tag.
  1098. In this example, the files you have available locally
  1099. as a result of the <filename>checkout</filename>
  1100. command are a snapshot of the
  1101. "&DISTRO_NAME_NO_CAP;" development branch at the point
  1102. where Yocto Project &DISTRO; was released.
  1103. </para></listitem>
  1104. </orderedlist>
  1105. </para>
  1106. </section>
  1107. </section>
  1108. </chapter>
  1109. <!--
  1110. vim: expandtab tw=80 ts=4
  1111. -->