summaryrefslogtreecommitdiffstats
path: root/documentation/poky-ref-manual/faq.xml
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2011-08-25 14:38:59 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-30 17:27:36 +0100
commitdd928387486d083b7dea401fb284bab03ad6a68c (patch)
tree6e87287747be616cd0c1f5e6968c11ec7df879f7 /documentation/poky-ref-manual/faq.xml
parent0e87c3e01e8962d97923cff5417e68ba103727f0 (diff)
downloadpoky-dd928387486d083b7dea401fb284bab03ad6a68c.tar.gz
documentation/poky-ref-manual/faq.xml: Scrubbed for term Poky.
In general, the term Poky can be replaced by "the Yocto Project." The term Poky can be used as a term for the Yocto Project build system. I left it in place for a few areas where it was easy and would not be confusing. I also performed general rewrites for the FAQ. (From yocto-docs rev: bb24bcf21311c68576fb8c3fec86ad8303f557f2) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/poky-ref-manual/faq.xml')
-rw-r--r--documentation/poky-ref-manual/faq.xml254
1 files changed, 143 insertions, 111 deletions
diff --git a/documentation/poky-ref-manual/faq.xml b/documentation/poky-ref-manual/faq.xml
index 25444f6a5c..dec9133241 100644
--- a/documentation/poky-ref-manual/faq.xml
+++ b/documentation/poky-ref-manual/faq.xml
@@ -83,14 +83,14 @@
83 </question> 83 </question>
84 <answer> 84 <answer>
85 <para> 85 <para>
86 There are two main ways to get a board supported in Poky; 86 There are two main ways to get a board supported in the Yocto Project;
87 <itemizedlist> 87 <itemizedlist>
88 <listitem><para>Send the Yocto Project team information on the board 88 <listitem><para>Send the Yocto Project team information on the board
89 and if the team does not have it yet they will consider adding it.</para></listitem> 89 and if the team does not have it yet they will consider adding it.</para></listitem>
90 <listitem><para>Send the Yocto Project team the BitBake recipes if you have them. 90 <listitem><para>Send the Yocto Project team the BitBake recipes if you have them.
91 </para></listitem> 91 </para></listitem>
92 </itemizedlist> 92 </itemizedlist>
93 Usually, if the board is not a completely exotic, adding support in 93 Usually, if the board is not completely exotic, adding support in
94 the Yocto Project is fairly straightforward. 94 the Yocto Project is fairly straightforward.
95 </para> 95 </para>
96 </answer> 96 </answer>
@@ -99,13 +99,13 @@
99 <qandaentry> 99 <qandaentry>
100 <question> 100 <question>
101 <para> 101 <para>
102 Are there any products running poky? 102 Are there any products using Poky?
103 </para> 103 </para>
104 </question> 104 </question>
105 <answer> 105 <answer>
106 <para> 106 <para>
107 The <ulink url='http://vernier.com/labquest/'>Vernier LabQuest</ulink> is using 107 The <ulink url='http://vernier.com/labquest/'>Vernier LabQuest</ulink> is using
108 Poky. 108 the Yocto Project build system Poky.
109 See the <ulink url='http://www.vernier.com/products/interfaces/labq/'>Vernier LabQuest</ulink> 109 See the <ulink url='http://www.vernier.com/products/interfaces/labq/'>Vernier LabQuest</ulink>
110 for more information. 110 for more information.
111 There are a number of pre-production devices using Poky and the Yocto Project team 111 There are a number of pre-production devices using Poky and the Yocto Project team
@@ -113,158 +113,170 @@
113 </para> 113 </para>
114 </answer> 114 </answer>
115 </qandaentry> 115 </qandaentry>
116
116 <qandaentry> 117 <qandaentry>
117 <question> 118 <question>
118 <para> 119 <para>
119 What is the Poky output ? 120 What does the Yocto Project build system Poky produce as output?
120 </para> 121 </para>
121 </question> 122 </question>
122 <answer> 123 <answer>
123 <para> 124 <para>
124 The output of a Poky build will depend on how it was started, as the same set of recipes can be used to output various formats. Usually the output is a flashable image ready for the target device. 125 Because the same set of recipes can be used to create output of various formats, the
126 output of a Yocto Project build depends on how it was started.
127 Usually, the output is a flashable image ready for the target device.
125 </para> 128 </para>
126 </answer> 129 </answer>
127 </qandaentry> 130 </qandaentry>
131
128 <qandaentry> 132 <qandaentry>
129 <question> 133 <question>
130 <para> 134 <para>
131 How do I add my package to Poky? 135 How do I add my package to the Yocto Project?
132 </para> 136 </para>
133 </question> 137 </question>
134 <answer> 138 <answer>
135 <para> 139 <para>
136 To add a package you need to create a BitBake recipe - see the Poky handbook to find out how to create a recipe. 140 To add a package, you need to create a BitBake recipe.
141 For information on how to add a package, see the
142 <link linkend='usingpoky-extend-addpkg'>Adding a Package</link> section
143 earlier in this manual.
137 </para> 144 </para>
138 </answer> 145 </answer>
139 </qandaentry> 146 </qandaentry>
147
140 <qandaentry> 148 <qandaentry>
141 <question> 149 <question>
142 <para> 150 <para>
143 Do I have to reflash my entire board with a new poky image when recompiling a package? 151 Do I have to reflash my entire board with a new Yocto Project image when recompiling
152 a package?
144 </para> 153 </para>
145 </question> 154 </question>
146 <answer> 155 <answer>
147 <para> 156 <para>
148 Poky can build packages in various formats, ipk (for ipkg/opkg), Debian package (.deb), or RPM. The packages can then be upgraded using the package tools on the device, much like on a desktop distribution like Ubuntu or Fedora. 157 The Yocto Project can build packages in various formats such as
158 <filename>ipk</filename> for <filename>ipkg</filename>/<filename>opkg</filename>,
159 Debian package (<filename>.deb</filename>), or RPM.
160 The packages can then be upgraded using the package tools on the device, much like
161 on a desktop distribution such as Ubuntu or Fedora.
149 </para> 162 </para>
150 </answer> 163 </answer>
151 </qandaentry> 164 </qandaentry>
165
152 <qandaentry> 166 <qandaentry>
153 <question> 167 <question>
154 <para> 168 <para>
155 What is GNOME Mobile? What's the difference between GNOME Mobile and GNOME? 169 What is GNOME Mobile and what is the difference between GNOME Mobile and GNOME?
156 </para> 170 </para>
157 </question> 171 </question>
158 <answer> 172 <answer>
159 <para> 173 <para>
160 <ulink url='http://www.gnome.org/mobile/'>GNOME Mobile</ulink> is a subset of the GNOME platform targeted at mobile and embedded devices. The the main difference between GNOME Mobile and standard GNOME is that desktop-orientated libraries have been removed, along with deprecated libraries, creating a much smaller footprint. 174 <ulink url='http://www.gnome.org/mobile/'>GNOME Mobile</ulink> is a subset of the GNOME
175 platform targeted at mobile and embedded devices.
176 The the main difference between GNOME Mobile and standard GNOME is that
177 desktop-orientated libraries have been removed, along with deprecated libraries,
178 creating a much smaller footprint.
161 </para> 179 </para>
162 </answer> 180 </answer>
163 </qandaentry> 181 </qandaentry>
182
164 <qandaentry> 183 <qandaentry>
165 <question> 184 <question>
166 <para> 185 <para>
167 I see the error 'chmod: XXXXX new permissions are r-xrwxrwx, not r-xr-xr-x'. What's wrong? 186 I see the error '<filename>chmod: XXXXX new permissions are r-xrwxrwx, not r-xr-xr-x</filename>'.
187 What is wrong?
168 </para> 188 </para>
169 </question> 189 </question>
170 <answer> 190 <answer>
171 <para> 191 <para>
172 You're probably running the build on an NTFS filesystem. Use a sane one like ext2/3/4 instead! 192 You are probably running the build on an NTFS filesystem.
193 Use <filename>ext2</filename>, <filename>ext3</filename>, or <filename>ext4</filename> instead.
173 </para> 194 </para>
174 </answer> 195 </answer>
175 </qandaentry> 196 </qandaentry>
197
176 <qandaentry> 198 <qandaentry>
177 <question> 199 <question>
178 <para> 200 <para>
179 How do I make Poky work in RHEL/CentOS? 201 How do I make the Yocto Project work in RHEL/CentOS?
180 </para> 202 </para>
181 </question> 203 </question>
182 <answer> 204 <answer>
183 <para> 205 <para>
184 To get Poky working under RHEL/CentOS 5.1 you need to first install some required packages. The standard CentOS packages needed are: 206 To get the Yocto Project working under RHEL/CentOS 5.1 you need to first
207 install some required packages.
208 The standard CentOS packages needed are:
185 <itemizedlist> 209 <itemizedlist>
186 <listitem> 210 <listitem><para>"Development tools" (selected during installation)</para></listitem>
187 <para> 211 <listitem><para><filename>texi2html</filename></para></listitem>
188 "Development tools" (selected during installation) 212 <listitem><para><filename>compat-gcc-34</filename></para></listitem>
189 </para>
190 </listitem>
191 <listitem>
192 <para>
193 texi2html
194 </para>
195 </listitem>
196 <listitem>
197 <para>
198 compat-gcc-34
199 </para>
200 </listitem>
201 </itemizedlist> 213 </itemizedlist>
202 </para> 214 On top of these, you need the following external packages:
203
204 <para>
205 On top of those the following external packages are needed:
206 <itemizedlist> 215 <itemizedlist>
207 <listitem> 216 <listitem><para><filename>python-sqlite2</filename> from
208 <para> 217 <ulink url='http://dag.wieers.com/rpm/packages/python-sqlite2/'>DAG repository</ulink>
209 python-sqlite2 from <ulink 218 </para></listitem>
210 url='http://dag.wieers.com/rpm/packages/python-sqlite2/'>DAG 219 <listitem><para><filename>help2man</filename> from
211 repository</ulink> 220 <ulink url='http://centos.karan.org/el5/extras/testing/i386/RPMS/help2man-1.33.1-2.noarch.rpm'>Karan repository</ulink></para></listitem>
212 </para>
213 </listitem>
214 <listitem>
215 <para>
216 help2man from <ulink
217 url='http://centos.karan.org/el5/extras/testing/i386/RPMS/help2man-1.33.1-2.noarch.rpm'>Karan
218 repository</ulink>
219 </para>
220 </listitem>
221 </itemizedlist> 221 </itemizedlist>
222 </para> 222 </para>
223 223
224 <para> 224 <para>
225 Once these packages are installed Poky will be able to build standard images however there 225 Once these packages are installed, the Yocto Project will be able to build standard
226 may be a problem with QEMU segfaulting. You can either disable the generation of binary 226 images.
227 locales by setting <glossterm><link linkend='var-ENABLE_BINARY_LOCALE_GENERATION'>ENABLE_BINARY_LOCALE_GENERATION</link> 227 However, there might be a problem with the QEMU emulator segfaulting.
228 </glossterm> to "0" or remove the linux-2.6-execshield.patch from the kernel and rebuild 228 You can either disable the generation of binary locales by setting
229 it since its that patch which causes the problems with QEMU. 229 <filename><link linkend='var-ENABLE_BINARY_LOCALE_GENERATION'>ENABLE_BINARY_LOCALE_GENERATION</link>
230 </filename> to "0" or by removing the <filename>linux-2.6-execshield.patch</filename>
231 from the kernel and rebuilding it since that is the patch that causes the problems with QEMU.
230 </para> 232 </para>
231 </answer> 233 </answer>
232 </qandaentry> 234 </qandaentry>
235
233 <qandaentry> 236 <qandaentry>
234 <question> 237 <question>
235 <para> 238 <para>
236 I see lots of 404 responses for files on 239 I see lots of 404 responses for files on
237 http://autobuilder.yoctoproject.org/sources/*. Is something wrong? 240 <filename>http://autobuilder.yoctoproject.org/sources/*</filename>. Is something wrong?
238 </para> 241 </para>
239 </question> 242 </question>
240 <answer> 243 <answer>
241 <para> 244 <para>
242 Nothing is wrong, Poky will check any configured source mirrors before downloading 245 Nothing is wrong.
243 from the upstream sources. It does this searching for both source archives and 246 The Yocto Project checks any configured source mirrors before downloading
244 pre-checked out versions of SCM managed software. This is so in large installations, 247 from the upstream sources.
245 it can reduce load on the SCM servers themselves. The address above is one of the 248 The Yocto Project does this searching for both source archives and
246 default mirrors configured into standard Poky so if an upstream source disappears, 249 pre-checked out versions of SCM managed software.
247 we can place sources there so builds continue to work. 250 These checks help in large installations because it can reduce load on the SCM servers
251 themselves.
252 The address above is one of the default mirrors configured into the
253 Yocto Project.
254 Consequently, if an upstream source disappears, the team
255 can place sources there so builds continue to work.
248 </para> 256 </para>
249 </answer> 257 </answer>
250 </qandaentry> 258 </qandaentry>
259
251 <qandaentry> 260 <qandaentry>
252 <question> 261 <question>
253 <para> 262 <para>
254 I have a machine specific data in a package for one machine only but the package is 263 I have machine-specific data in a package for one machine only but the package is
255 being marked as machine specific in all cases, how do I stop it? 264 being marked as machine-specific in all cases, how do I prevent this?
256 </para> 265 </para>
257 </question> 266 </question>
258 <answer> 267 <answer>
259 <para> 268 <para>
260 Set <glossterm><link linkend='var-SRC_URI_OVERRIDES_PACKAGE_ARCH'>SRC_URI_OVERRIDES_PACKAGE_ARCH</link> 269 Set <filename><link linkend='var-SRC_URI_OVERRIDES_PACKAGE_ARCH'>SRC_URI_OVERRIDES_PACKAGE_ARCH</link>
261 </glossterm> = "0" in the .bb file but make sure the package is manually marked as 270 </filename> = "0" in the <filename>.bb</filename> file but make sure the package is
262 machine specific in the case that needs it. The code which handles <glossterm><link 271 manually marked as
263 linkend='var-SRC_URI_OVERRIDES_PACKAGE_ARCH'>SRC_URI_OVERRIDES_PACKAGE_ARCH</link></glossterm> 272 machine-specific in the case that needs it.
264 is in base.bbclass. 273 The code that handles
274 <filename><link linkend='var-SRC_URI_OVERRIDES_PACKAGE_ARCH'>
275 SRC_URI_OVERRIDES_PACKAGE_ARCH</link></filename> is in <filename>base.bbclass</filename>.
265 </para> 276 </para>
266 </answer> 277 </answer>
267 </qandaentry> 278 </qandaentry>
279
268 <qandaentry> 280 <qandaentry>
269 <question> 281 <question>
270 <para> 282 <para>
@@ -273,14 +285,21 @@
273 </question> 285 </question>
274 <answer> 286 <answer>
275 <para> 287 <para>
276 Most source fetching by Poky is done by wget and you therefore need to specify the proxy 288 Most source fetching by the Yocto Project is done by <filename>wget</filename>
277 settings in a .wgetrc file in your home directory. Example settings in that file would be 289 and you therefore need to specify the proxy settings in a
278 'http_proxy = http://proxy.yoyodyne.com:18023/' and 'ftp_proxy = http://proxy.yoyodyne.com:18023/'. 290 <filename>.wgetrc</filename> file in your home directory.
279 Poky also includes a site.conf.sample file which shows how to configure cvs and git proxy servers 291 Example settings in that file would be
292 <literallayout class='monospaced'>
293 http_proxy = http://proxy.yoyodyne.com:18023/
294 ftp_proxy = http://proxy.yoyodyne.com:18023/
295 </literallayout>
296 The Yocto Project also includes a <filename>site.conf.sample</filename>
297 file that shows how to configure CVS and Git proxy servers
280 if needed. 298 if needed.
281 </para> 299 </para>
282 </answer> 300 </answer>
283 </qandaentry> 301 </qandaentry>
302
284 <qandaentry> 303 <qandaentry>
285 <question> 304 <question>
286 <para> 305 <para>
@@ -289,26 +308,37 @@
289 </question> 308 </question>
290 <answer> 309 <answer>
291 <para> 310 <para>
292 In Intrepid, Ubuntu turned on by default normally optional compile-time security features 311 In Intrepid, Ubuntu turns on by default the normally optional compile-time security features
293 and warnings. There are more details at <ulink 312 and warnings.
294 url='https://wiki.ubuntu.com/CompilerFlags'>https://wiki.ubuntu.com/CompilerFlags</ulink>. 313 There are more details at
295 You can work around this problem by disabling those options by adding " -Wno-format-security -U_FORTIFY_SOURCE" 314 <ulink url='https://wiki.ubuntu.com/CompilerFlags'>https://wiki.ubuntu.com/CompilerFlags</ulink>.
296 to the BUILD_CPPFLAGS variable in conf/bitbake.conf. 315 You can work around this problem by disabling those options by adding
316 the following to the <filename>BUILD_CPPFLAGS</filename> variable in the
317 <filename>conf/bitbake.conf</filename> file.
318 <literallayout class='monospaced'>
319 " -Wno-format-security -U_FORTIFY_SOURCE"
320 </literallayout>
297 </para> 321 </para>
298 </answer> 322 </answer>
299 </qandaentry> 323 </qandaentry>
324
300 <qandaentry> 325 <qandaentry>
301 <question> 326 <question>
302 <para> 327 <para>
303 What’s the difference between foo and foo-native? 328 What’s the difference between <filename>foo</filename> and <filename>foo-native</filename>?
304 </para> 329 </para>
305 </question> 330 </question>
306 <answer> 331 <answer>
307 <para> 332 <para>
308 The *-native targets are designed to run on the system the build is running on. These are usually tools that are needed to assist the build in some way such as quilt-native which is used to apply patches. The non-native version is the one that would run on the target device. 333 The <filename>*-native</filename> targets are designed to run on the system
334 being used for the build.
335 These are usually tools that are needed to assist the build in some way such as
336 <filename>quilt-native</filename>, which is used to apply patches.
337 The non-native version is the one that runs on the target device.
309 </para> 338 </para>
310 </answer> 339 </answer>
311 </qandaentry> 340 </qandaentry>
341
312 <qandaentry> 342 <qandaentry>
313 <question> 343 <question>
314 <para> 344 <para>
@@ -317,10 +347,17 @@
317 </question> 347 </question>
318 <answer> 348 <answer>
319 <para> 349 <para>
320 If the same build is failing in totally different and random ways the most likely explanation is that either the hardware you're running it on has some problem or if you are running it under virtualisation, the virtualisation probably has bugs. Poky processes a massive amount of data causing lots of network, disk and cpu activity and is sensitive to even single bit failure in any of these areas. Totally random failures have always been traced back to hardware or virtualisation issues. 350 If the same build is failing in totally different and random ways,
351 the most likely explanation is that either the hardware you're running the
352 build on has some problem, or, if you are running the build under virtualisation,
353 the virtualisation probably has bugs.
354 The Yocto Project processes a massive amount of data causing lots of network, disk and
355 CPU activity and is sensitive to even single bit failures in any of these areas.
356 True random failures have always been traced back to hardware or virtualisation issues.
321 </para> 357 </para>
322 </answer> 358 </answer>
323 </qandaentry> 359 </qandaentry>
360
324 <qandaentry> 361 <qandaentry>
325 <question> 362 <question>
326 <para> 363 <para>
@@ -329,7 +366,13 @@
329 </question> 366 </question>
330 <answer> 367 <answer>
331 <para> 368 <para>
332 This is a difficult question and you need to consult your lawyer for the answer for your specific case. Its worth bearing in mind that for GPL compliance there needs to be enough information shipped to allow someone else to rebuild the same end result as you are shipping. This means sharing the source code, any patches applied to it but also any configuration information about how that package was configured and built. 369 This is a difficult question and you need to consult your lawyer for the answer
370 for your specific case.
371 It is worth bearing in mind that for GPL compliance there needs to be enough
372 information shipped to allow someone else to rebuild the same end result
373 you are shipping.
374 This means sharing the source code, any patches applied to it, and also any
375 configuration information about how that package was configured and built.
333 </para> 376 </para>
334 </answer> 377 </answer>
335 </qandaentry> 378 </qandaentry>
@@ -344,7 +387,7 @@
344 <para> 387 <para>
345 You need to create a form factor file as described in 388 You need to create a form factor file as described in
346 <xref linkend='bsp-filelayout-misc-recipes'>"Miscellaneous Recipe Files"</xref> 389 <xref linkend='bsp-filelayout-misc-recipes'>"Miscellaneous Recipe Files"</xref>
347 and set the <filename>HAVE_TOUCHSCREEN</filename> variable equal to one. 390 and set the <filename>HAVE_TOUCHSCREEN</filename> variable equal to one as follows:
348 <literallayout class='monospaced'> 391 <literallayout class='monospaced'>
349 HAVE_TOUCHSCREEN=1 392 HAVE_TOUCHSCREEN=1
350 </literallayout> 393 </literallayout>
@@ -362,7 +405,7 @@
362 <para> 405 <para>
363 The default interfaces file provided by the netbase recipe does not 406 The default interfaces file provided by the netbase recipe does not
364 automatically bring up network interfaces. 407 automatically bring up network interfaces.
365 Therefore you will need to add a BSP-specific netbase that includes an interfaces 408 Therefore, you will need to add a BSP-specific netbase that includes an interfaces
366 file. 409 file.
367 See <xref linkend='bsp-filelayout-misc-recipes'>"Miscellaneous Recipe Files"</xref> 410 See <xref linkend='bsp-filelayout-misc-recipes'>"Miscellaneous Recipe Files"</xref>
368 for information on creating these types of miscellaneous recipe files. 411 for information on creating these types of miscellaneous recipe files.
@@ -386,7 +429,7 @@
386 <answer> 429 <answer>
387 <para> 430 <para>
388 Images are created to be 1.2 times the size of the populated root filesystem. 431 Images are created to be 1.2 times the size of the populated root filesystem.
389 To modify this ratio so that there is more free space available you need to 432 To modify this ratio so that there is more free space available, you need to
390 set the configuration value <filename>IMAGE_OVERHEAD_FACTOR</filename>. 433 set the configuration value <filename>IMAGE_OVERHEAD_FACTOR</filename>.
391 For example, setting <filename>IMAGE_OVERHEAD_FACTOR</filename> to 1.5 sets 434 For example, setting <filename>IMAGE_OVERHEAD_FACTOR</filename> to 1.5 sets
392 the image size ratio to one and a half times the size of the populated 435 the image size ratio to one and a half times the size of the populated
@@ -406,9 +449,10 @@
406 </question> 449 </question>
407 <answer> 450 <answer>
408 <para> 451 <para>
409 We have tried to do this before but too many of the tools we depend on such as autoconf 452 The Yocto Project team has tried to do this before but too many of the tools
453 the Yocto Project depends on such as <filename>autoconf</filename>
410 break when they find spaces in pathnames. 454 break when they find spaces in pathnames.
411 Until that situation changes we will not support spaces in pathnames. 455 Until that situation changes, the team will not support spaces in pathnames.
412 </para> 456 </para>
413 </answer> 457 </answer>
414 </qandaentry> 458 </qandaentry>
@@ -422,17 +466,18 @@
422 <answer> 466 <answer>
423 <para> 467 <para>
424 The toolchain configuration is very flexible and customizable. 468 The toolchain configuration is very flexible and customizable.
425 It is primarily controlled with the TCMODE variable. 469 It is primarily controlled with the
470 <filename><link linkend='var-TCMODE'>TCMODE</link></filename> variable.
426 This variable controls which file to include 471 This variable controls which file to include
427 (<filename>conf/distro/include/tcmode-*.inc</filename>). 472 (<filename>conf/distro/include/tcmode-*.inc</filename>).
428 </para> 473 </para>
429 <para> 474 <para>
430 The default value of TCMODE is "default". 475 The default value of <filename>TCMODE</filename> is "default".
431 However, other patterns are accepted. 476 However, other patterns are accepted.
432 In particular, "external-*" refers to external toolchains of which there are some basic examples 477 In particular, "external-*" refers to external toolchains of which there are some basic examples
433 included with the core. 478 included with the core.
434 A user can use their own custom toolchain definition in their own layer 479 A user can use their own custom toolchain definition in their own layer
435 (or <filename>local.conf</filename> directory) at the location 480 (or as defined in the <filename>local.conf</filename> file) at the location
436 <filename>conf/distro/include/tcmode-*.inc</filename>. 481 <filename>conf/distro/include/tcmode-*.inc</filename>.
437 </para> 482 </para>
438 <para> 483 <para>
@@ -446,29 +491,27 @@
446 </answer> 491 </answer>
447 </qandaentry> 492 </qandaentry>
448 493
449
450
451
452 <qandaentry> 494 <qandaentry>
453 <question> 495 <question>
454 <para> 496 <para>
455 How does Poky obtain source code and will it work behind my firewall or proxy server? 497 How does the Yocto Project obtain source code and will it work behind my
498 firewall or proxy server?
456 </para> 499 </para>
457 </question> 500 </question>
458 <answer> 501 <answer>
459 <para> 502 <para>
460 The way Poky obtains source code is highly configurable. 503 The way the Yocto Project obtains source code is highly configurable.
461 You can setup Poky to get source code in most environments if 504 You can setup the Yocto Project to get source code in most environments if
462 HTTP transport is available. 505 HTTP transport is available.
463 </para> 506 </para>
464 <para> 507 <para>
465 When Poky searches for source code it first tries the local download directory. 508 When the build system searches for source code, it first tries the local download directory.
466 If that location fails, Poky tries PREMIRRORS, the upstream source, 509 If that location fails, Poky tries PREMIRRORS, the upstream source,
467 and then MIRRORS in that order. 510 and then MIRRORS in that order.
468 </para> 511 </para>
469 <para> 512 <para>
470 By default, Poky uses the Yocto Project source PREMIRRORS for SCM-based sources, 513 By default, Poky uses the Yocto Project source PREMIRRORS for SCM-based sources,
471 upstreams for normal tarballs and then falls back to a number of other mirrors 514 upstreams for normal tarballs, and then falls back to a number of other mirrors
472 including the Yocto Project source mirror if those fail. 515 including the Yocto Project source mirror if those fail.
473 </para> 516 </para>
474 <para> 517 <para>
@@ -484,7 +527,7 @@
484 </literallayout> 527 </literallayout>
485 </para> 528 </para>
486 <para> 529 <para>
487 These changes cause Poky to intercept GIT, FTP, HTTP, and HTTPS 530 These changes cause Poky to intercept Git, FTP, HTTP, and HTTPS
488 requests and direct them to the <filename>http://</filename> sources mirror. 531 requests and direct them to the <filename>http://</filename> sources mirror.
489 You can use <filename>file://</filename> URLs to point to local directories 532 You can use <filename>file://</filename> URLs to point to local directories
490 or network shares as well. 533 or network shares as well.
@@ -494,8 +537,6 @@
494 <literallayout class='monospaced'> 537 <literallayout class='monospaced'>
495 BB_NO_NETWORK = "1" 538 BB_NO_NETWORK = "1"
496 </literallayout> 539 </literallayout>
497 </para>
498 <para>
499 This statement tells BitBake to throw an error instead of trying to access the 540 This statement tells BitBake to throw an error instead of trying to access the
500 Internet. 541 Internet.
501 This technique is useful if you want to ensure code builds only from local sources. 542 This technique is useful if you want to ensure code builds only from local sources.
@@ -505,8 +546,6 @@
505 <literallayout class='monospaced'> 546 <literallayout class='monospaced'>
506 BB_FETCH_PREMIRRORONLY = "1" 547 BB_FETCH_PREMIRRORONLY = "1"
507 </literallayout> 548 </literallayout>
508 </para>
509 <para>
510 This statement limits Poky to pulling source from the PREMIRRORS only. 549 This statement limits Poky to pulling source from the PREMIRRORS only.
511 Again, this technique is useful for reproducing builds. 550 Again, this technique is useful for reproducing builds.
512 </para> 551 </para>
@@ -515,8 +554,6 @@
515 <literallayout class='monospaced'> 554 <literallayout class='monospaced'>
516 BB_GENERATE_MIRROR_TARBALLS = "1" 555 BB_GENERATE_MIRROR_TARBALLS = "1"
517 </literallayout> 556 </literallayout>
518 </para>
519 <para>
520 This statement tells Poky to generate mirror tarballs. 557 This statement tells Poky to generate mirror tarballs.
521 This technique is useful if you want to create a mirror server. 558 This technique is useful if you want to create a mirror server.
522 If not, however, the technique can simply waste time during the build. 559 If not, however, the technique can simply waste time during the build.
@@ -524,7 +561,7 @@
524 <para> 561 <para>
525 Finally, consider an example where you are behind an HTTP-only firewall. 562 Finally, consider an example where you are behind an HTTP-only firewall.
526 You could make the following changes to the <filename>local.conf</filename> 563 You could make the following changes to the <filename>local.conf</filename>
527 configuration file as long as the premirror server is up to date: 564 configuration file as long as the PREMIRROR server is up to date:
528 <literallayout class='monospaced'> 565 <literallayout class='monospaced'>
529 PREMIRRORS_prepend = "\ 566 PREMIRRORS_prepend = "\
530 ftp://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \ 567 ftp://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \
@@ -532,10 +569,8 @@
532 https://.*/.* http://autobuilder.yoctoproject.org/sources/ \n" 569 https://.*/.* http://autobuilder.yoctoproject.org/sources/ \n"
533 BB_FETCH_PREMIRRORONLY = "1" 570 BB_FETCH_PREMIRRORONLY = "1"
534 </literallayout> 571 </literallayout>
535 </para>
536 <para>
537 These changes would cause Poky to successfully fetch source over HTTP and 572 These changes would cause Poky to successfully fetch source over HTTP and
538 any network accesses to anything other than the premirror would fail. 573 any network accesses to anything other than the PREMIRROR would fail.
539 </para> 574 </para>
540 <para> 575 <para>
541 Poky also honors the standard environment variables 576 Poky also honors the standard environment variables
@@ -545,9 +580,6 @@
545 </para> 580 </para>
546 </answer> 581 </answer>
547 </qandaentry> 582 </qandaentry>
548
549
550
551</qandaset> 583</qandaset>
552</appendix> 584</appendix>
553<!-- 585<!--