summaryrefslogtreecommitdiffstats
path: root/handbook/extendpoky.xml
diff options
context:
space:
mode:
Diffstat (limited to 'handbook/extendpoky.xml')
-rw-r--r--handbook/extendpoky.xml40
1 files changed, 20 insertions, 20 deletions
diff --git a/handbook/extendpoky.xml b/handbook/extendpoky.xml
index 61620053a6..662096844d 100644
--- a/handbook/extendpoky.xml
+++ b/handbook/extendpoky.xml
@@ -74,8 +74,8 @@ do_install() {
74 74
75 <para> 75 <para>
76 As a result of the build process "helloworld", "helloworld-dbg" and "hellworld-dev" 76 As a result of the build process "helloworld", "helloworld-dbg" and "hellworld-dev"
77 packages will be built by default. You can <link linkend='usingpoky-extend-addpkg-files'> 77 packages will be built by default. It is possible to<link linkend='usingpoky-extend-addpkg-files'>
78 control package process</link> yourself. 78 customise the packaging process</link>.
79 </para> 79 </para>
80 </section> 80 </section>
81 81
@@ -243,8 +243,8 @@ FILES_sxpm = "${bindir}/sxpm"
243 </para> 243 </para>
244 <programlisting> 244 <programlisting>
245pkg_postinst_PACKAGENAME () { 245pkg_postinst_PACKAGENAME () {
246 #!/bin/sh -e 246#!/bin/sh -e
247 # Commands to carry out 247# Commands to carry out
248} 248}
249 </programlisting> 249 </programlisting>
250 <para> 250 <para>
@@ -265,12 +265,12 @@ pkg_postinst_PACKAGENAME () {
265 265
266 <programlisting> 266 <programlisting>
267pkg_postinst_PACKAGENAME () { 267pkg_postinst_PACKAGENAME () {
268 #!/bin/sh -e 268#!/bin/sh -e
269 if [ x"$D" = "x" ]; then 269if [ x"$D" = "x" ]; then
270 # Actions to carry out on the device go here 270 # Actions to carry out on the device go here
271 else 271else
272 exit 1 272 exit 1
273 fi 273fi
274} 274}
275 </programlisting> 275 </programlisting>
276 276
@@ -398,7 +398,7 @@ RRECOMMENDS_task-custom-tools = "\
398 variable. To create these, the best reference is <filename>meta/classes/poky-image.bbclass</filename> 398 variable. To create these, the best reference is <filename>meta/classes/poky-image.bbclass</filename>
399 which illustrates how poky achieves this. In summary, the file looks at the contents of the 399 which illustrates how poky achieves this. In summary, the file looks at the contents of the
400 <glossterm><link linkend='var-IMAGE_FEATURES'>IMAGE_FEATURES</link></glossterm> 400 <glossterm><link linkend='var-IMAGE_FEATURES'>IMAGE_FEATURES</link></glossterm>
401 variable and then map into a set of tasks or packages. Based on this then the 401 variable and then maps this into a set of tasks or packages. Based on this then the
402 <glossterm><link linkend='var-IMAGE_INSTALL'> IMAGE_INSTALL</link></glossterm> 402 <glossterm><link linkend='var-IMAGE_INSTALL'> IMAGE_INSTALL</link></glossterm>
403 variable is generated automatically. Extra features can be added by 403 variable is generated automatically. Extra features can be added by
404 extending the class or creating a custom class for use with specialised image .bb files. 404 extending the class or creating a custom class for use with specialised image .bb files.
@@ -586,12 +586,11 @@ DISPLAY_SUBPIXEL_ORDER=vrgb
586 586
587 <para> 587 <para>
588 The Poky tree includes several additional layers which demonstrate 588 The Poky tree includes several additional layers which demonstrate
589 this functionality, such as meta-moblin, meta-emenlow, meta-extras. 589 this functionality, such as meta-emenlow and meta-extras.
590 Default layers enabled are meta-moblin and meta-emenlow, which may 590 The meta-emenlow layer is an example layer enabled by default. The meta-extras
591 suffer from future changes. The meta-extras repostory is not enabled 591 repostory is not enabled by default but enabling any layer is as easy as adding
592 by default but enabling any layer is as easy as adding the layers path 592 the layers path to the BBLAYERS variable in your bblayers.conf. this is how
593 to the BBLAYERS variable in your bblayers.conf. this is how meta-extras 593 meta-extras are enabled in Poky builds:
594 are enabled in Poky builds:
595 </para> 594 </para>
596 <para> 595 <para>
597 <literallayout class='monospaced'>LCONF_VERSION = "1" 596 <literallayout class='monospaced'>LCONF_VERSION = "1"
@@ -650,7 +649,8 @@ BBFILE_PRIORITY_emenlow = "6"
650 </para> 649 </para>
651 650
652 <para> 651 <para>
653 Emenlow bbclasses and configuration are added to the BBPATH 652 Additional bbclass and configuration files can be locationed by
653 bitbake through the addition to the BBPATH
654 environment variable. In this case, the first file with the 654 environment variable. In this case, the first file with the
655 matching name found in BBPATH is the one that is used, just 655 matching name found in BBPATH is the one that is used, just
656 like the PATH variable for binaries. It is therefore recommended 656 like the PATH variable for binaries. It is therefore recommended
@@ -773,7 +773,7 @@ BBFILE_PRIORITY_emenlow = "6"
773 They usually happen at preset times such as at night when the machine 773 They usually happen at preset times such as at night when the machine
774 load isn't high from the incremental builds. 774 load isn't high from the incremental builds.
775 <ulink url='http://autobuilder.pokylinux.org:8010'>poky autobuilder</ulink> 775 <ulink url='http://autobuilder.pokylinux.org:8010'>poky autobuilder</ulink>
776 is an example implementation with buildrot. 776 is an example implementation with buildbot.
777 </para> 777 </para>
778 778
779 <para> 779 <para>
@@ -856,7 +856,7 @@ bitbake -c compile -f NAME_OF_PACKAGE
856 "-f" or "--force" is used to force re-execution of the specified task. 856 "-f" or "--force" is used to force re-execution of the specified task.
857 Other tasks may also be called this way. But note that all the modifications 857 Other tasks may also be called this way. But note that all the modifications
858 in <glossterm><link linkend='var-WORKDIR'>WORKDIR</link></glossterm> 858 in <glossterm><link linkend='var-WORKDIR'>WORKDIR</link></glossterm>
859 are gone once you executes "-c clean" for a pacakge. 859 are gone once you executes "-c clean" for a package.
860 </para> 860 </para>
861 861
862 <section id='usingpoky-modifying-packages-quilt'> 862 <section id='usingpoky-modifying-packages-quilt'>