mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
documentation/poky-ref-manual/usingpoky.xml: re-write for Yocto
General re-write to make the chapter Yocto Project friendly. Weeded out the references to "Poky." (From yocto-docs rev: ac4fc6082f458e5ee60962693ee332bbf1e3c1a9) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
00d483d65a
commit
295b855fc9
@@ -4,16 +4,17 @@
|
|||||||
<title>Using Poky</title>
|
<title>Using Poky</title>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
This section gives an overview of the components that make up Poky
|
This section gives an overview of the components that make up the Yocto Project
|
||||||
followed by information about running poky builds and dealing with any
|
followed by information about Yocto Project builds and dealing with any
|
||||||
problems that may arise.
|
problems that might arise.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<section id='usingpoky-components'>
|
<section id='usingpoky-components'>
|
||||||
<title>Poky Overview</title>
|
<title>Poky Overview</title>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
The BitBake task executor together with various types of configuration files form the core of Poky.
|
The BitBake task executor together with various types of configuration files form the
|
||||||
|
Yocto Project core.
|
||||||
This section overviews the BitBake task executor and the
|
This section overviews the BitBake task executor and the
|
||||||
configuration files by describing what they are used for and they they interact.
|
configuration files by describing what they are used for and they they interact.
|
||||||
</para>
|
</para>
|
||||||
@@ -28,6 +29,11 @@
|
|||||||
<listitem><para>Configuration Data: Defines machine-specific settings, policy decisions, etc.
|
<listitem><para>Configuration Data: Defines machine-specific settings, policy decisions, etc.
|
||||||
Configuration data acts a the glue to bind everything together.</para></listitem>
|
Configuration data acts a the glue to bind everything together.</para></listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
|
For more information on data, see the
|
||||||
|
<ulink url='http://www.yoctoproject.org/docs/1.1/dev-manual/dev-manual.html#yocto-project-terms'>
|
||||||
|
Yocto Project Terms</ulink> section in
|
||||||
|
<ulink url='http://www.yoctoproject.org/docs/1.1/dev-manual/dev-manual.html'>
|
||||||
|
The Yocto Project Development Manual</ulink>.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
@@ -46,16 +52,19 @@
|
|||||||
<title>BitBake</title>
|
<title>BitBake</title>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
BitBake is the tool at the heart of Poky and is responsible
|
BitBake is the tool at the heart of the Yocto Project and is responsible
|
||||||
for parsing the metadata, generating a list of tasks from it
|
for parsing the metadata, generating a list of tasks from it,
|
||||||
and then executing them. To see a list of the options BitBake
|
and then executing those tasks.
|
||||||
supports look at 'bitbake --help'.
|
To see a list of the options BitBake supports, use the following help command:
|
||||||
|
<literallayout class='monospaced'>
|
||||||
|
$ bitbake --help
|
||||||
|
</literallayout>
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
The most common usage for BitBake is <filename>bitbake <packagename></filename>, where
|
The most common usage for BitBake is <filename>bitbake <packagename></filename>, where
|
||||||
packagename is the name of the package you want to build (referred to as the 'target'
|
<filename>packagename</filename> is the name of the package you want to build
|
||||||
in this manual).
|
(referred to as the "target" in this manual).
|
||||||
The target often equates to the first part of a <filename>.bb</filename> filename.
|
The target often equates to the first part of a <filename>.bb</filename> filename.
|
||||||
So, to run the <filename>matchbox-desktop_1.2.3.bb</filename> file, you
|
So, to run the <filename>matchbox-desktop_1.2.3.bb</filename> file, you
|
||||||
might type the following:
|
might type the following:
|
||||||
@@ -64,43 +73,46 @@
|
|||||||
</literallayout>
|
</literallayout>
|
||||||
Several different versions of <filename>matchbox-desktop</filename> might exist.
|
Several different versions of <filename>matchbox-desktop</filename> might exist.
|
||||||
BitBake chooses the one selected by the distribution configuration.
|
BitBake chooses the one selected by the distribution configuration.
|
||||||
You can get more details about how BitBake chooses between different versions
|
You can get more details about how BitBake chooses between different
|
||||||
and providers in the <link linkend='ref-bitbake-providers'>
|
target versions and providers in the
|
||||||
'Preferences and Providers'</link> section.
|
<link linkend='ref-bitbake-providers'>Preferences and Providers</link> section.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
BitBake also tries to execute any dependent tasks first.
|
BitBake also tries to execute any dependent tasks first.
|
||||||
So for example, before building <filename>matchbox-desktop</filename> BitBake
|
So for example, before building <filename>matchbox-desktop</filename>, BitBake
|
||||||
would build a cross compiler and glibc if they had not already been built.
|
would build a cross compiler and <filename>glibc</filename> if they had not already
|
||||||
|
been built.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
A useful BitBake option to consider is the <filename>-k</filename> or
|
A useful BitBake option to consider is the <filename>-k</filename> or
|
||||||
<filename>--continue</filename> option.
|
<filename>--continue</filename> option.
|
||||||
This option instructs BitBake to try and continue processing the job as much
|
This option instructs BitBake to try and continue processing the job as much
|
||||||
as possible even after encountering an error. When an error occurs the target that
|
as possible even after encountering an error.
|
||||||
failed and those that depend on it cannot be remade. However, when you use this
|
When an error occurs, the target that
|
||||||
option other dependencies can still be processed.
|
failed and those that depend on it cannot be remade.
|
||||||
|
However, when you use this option other dependencies can still be processed.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section id='usingpoky-components-metadata'>
|
<section id='usingpoky-components-metadata'>
|
||||||
<title>Metadata (Recipes)</title>
|
<title>Metadata (Recipes)</title>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
The <filename>.bb</filename> files are usually referred to as 'recipes'.
|
The <filename>.bb</filename> files are usually referred to as "recipes."
|
||||||
In general, a recipe contains information about a single piece of software such
|
In general, a recipe contains information about a single piece of software.
|
||||||
as from where to download the source patches (if any are needed), which special
|
The information includes the location from which to download the source patches
|
||||||
configuration options to apply, how to compile the source files, and how to
|
(if any are needed), which special configuration options to apply,
|
||||||
package the compiled output.
|
how to compile the source files, and how to package the compiled output.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
The term 'package' can also be used to describe recipes.
|
The term "package" can also be used to describe recipes.
|
||||||
However, since the same word is used for the packaged output from Poky (i.e. .ipk or .deb
|
However, since the same word is used for the packaged output from the Yocto
|
||||||
files), this document avoids it.
|
Project (i.e. <filename>.ipk</filename> or <filename>.deb</filename> files),
|
||||||
|
this document avoids using the term "package" to refer to recipes.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section id='usingpoky-components-classes'>
|
<section id='usingpoky-components-classes'>
|
||||||
@@ -109,8 +121,8 @@
|
|||||||
<para>
|
<para>
|
||||||
Class files (<filename>.bbclass</filename>) contain information that is useful to share
|
Class files (<filename>.bbclass</filename>) contain information that is useful to share
|
||||||
between metadata files.
|
between metadata files.
|
||||||
An example is the autotools class, which contains
|
An example is the Autotools class, which contains
|
||||||
common settings for any application that autotools uses.
|
common settings for any application that Autotools uses.
|
||||||
The <link linkend='ref-classes'>Reference: Classes</link> appendix provides details
|
The <link linkend='ref-classes'>Reference: Classes</link> appendix provides details
|
||||||
about common classes and how to use them.
|
about common classes and how to use them.
|
||||||
</para>
|
</para>
|
||||||
@@ -121,13 +133,13 @@
|
|||||||
|
|
||||||
<para>
|
<para>
|
||||||
The configuration files (<filename>.conf</filename>) define various configuration variables
|
The configuration files (<filename>.conf</filename>) define various configuration variables
|
||||||
that govern what Poky does.
|
that govern the Yocto Project build process.
|
||||||
These files are split into several areas that define machine configuration options,
|
These files fall into several areas that define machine configuration options,
|
||||||
distribution configuration options, compiler tuning options, general common configuration
|
distribution configuration options, compiler tuning options, general common configuration
|
||||||
options and user configuration options (<filename>local.conf</filename>).
|
options and user configuration options (<filename>local.conf</filename>, which is found
|
||||||
|
in the Yocto Project files build directory).
|
||||||
</para>
|
</para>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
||||||
@@ -135,47 +147,64 @@
|
|||||||
<title>Running a Build</title>
|
<title>Running a Build</title>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
First the Poky build environment needs to be set up using the following command:
|
You can find information on how to build an image using the Yocto Project in the
|
||||||
|
<ulink url='http://www.yoctoproject.org/docs/1.1/yocto-project-qs/yocto-project-qs.html#building-image'>
|
||||||
|
Building an Image</ulink> section of the
|
||||||
|
<ulink url='http://www.yoctoproject.org/docs/1.1/yocto-project-qs/yocto-project-qs.html'>
|
||||||
|
Yocto Project Quick Start</ulink>.
|
||||||
|
This section provides a quick overview.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
|
The first thing you need to do is set up the Yocto Project build environment by sourcing
|
||||||
|
the environment setup script as follows:
|
||||||
<literallayout class='monospaced'>
|
<literallayout class='monospaced'>
|
||||||
$ source oe-init-build-env [build_dir]
|
$ source oe-init-build-env [build_dir];
|
||||||
</literallayout>
|
</literallayout>
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
The build_dir is the dir containing all the build's object files. The default
|
The <filename>build_dir</filename> is optional and specifies the directory Yocto Project
|
||||||
build dir is poky-dir/build. A different build_dir can be used for each of the targets.
|
uses for the build.
|
||||||
For example, ~/build/x86 for a qemux86 target, and ~/build/arm for a qemuarm target.
|
If you do not specify a build directory it defaults to <filename>build</filename>
|
||||||
Please refer to <link linkend="structure-core-script">oe-init-build-env</link>
|
in the Yocto Project files directory structure.
|
||||||
for more detailed information.
|
A common practice is to use a different build directory for different targets.
|
||||||
</para>
|
For example, <filename>~/build/x86</filename> for a <filename>qemux86</filename>
|
||||||
<para>
|
target, and <filename>~/build/arm</filename> for a <filename>qemuarm</filename> target.
|
||||||
Once the Poky build environment is set up, a target can be built using:
|
See <link linkend="structure-core-script">oe-init-build-env</link>
|
||||||
|
for more information on this script.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
|
Once the Yocto Project build environment is set up, you can build a target using:
|
||||||
<literallayout class='monospaced'>
|
<literallayout class='monospaced'>
|
||||||
$ bitbake <target>
|
$ bitbake <target>
|
||||||
</literallayout>
|
</literallayout>
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
The target is the name of the recipe you want to build.
|
The <filename>target</filename> is the name of the recipe you want to build.
|
||||||
Common targets are the images in <filename>meta/recipes-core/images</filename>,
|
Common targets are the images in <filename>meta/recipes-core/images</filename>,
|
||||||
<filename>/meta/recipes-sato/images</filename>, etc.
|
<filename>/meta/recipes-sato/images</filename>, etc. all found in the Yocto Project
|
||||||
|
files.
|
||||||
Or, the target can be the name of a recipe for a specific piece of software such as
|
Or, the target can be the name of a recipe for a specific piece of software such as
|
||||||
<application>busybox</application>.
|
<application>busybox</application>.
|
||||||
For more details about the standard images available, see the
|
For more details about the images Yocto Project supports, see the
|
||||||
<link linkend="ref-images">'Reference: Images'</link> appendix.
|
<link linkend="ref-images">'Reference: Images'</link> appendix.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<note>
|
<note>
|
||||||
Building an image without GNU Public License Version 3 (GPLv3) components is
|
Building an image without GNU Public License Version 3 (GPLv3) components is
|
||||||
only supported for minimal and base images.
|
only supported for minimal and base images.
|
||||||
See <link linkend='ref-images'>'Reference: Images'</link> for more information.
|
See <link linkend='ref-images'>'Reference: Images'</link> for more information.
|
||||||
</note>
|
</note>
|
||||||
|
|
||||||
<note>
|
<note>
|
||||||
When building an image using GPL components you need to maintain your original
|
When building an image using GPL components, you need to maintain your original
|
||||||
settings and not switch back and forth applying different versions of the GNU
|
settings and not switch back and forth applying different versions of the GNU
|
||||||
Public License. If you rebuild using different versions of GPL you can get
|
Public License.
|
||||||
dependency errors due to some components not being rebuilt.
|
If you rebuild using different versions of GPL, dependency errors might occur
|
||||||
|
due to some components not being rebuilt.
|
||||||
</note>
|
</note>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
@@ -183,17 +212,18 @@
|
|||||||
<title>Installing and Using the Result</title>
|
<title>Installing and Using the Result</title>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
Once an image has been built it often needs to be installed.
|
Once an image has been built, it often needs to be installed.
|
||||||
The images/kernels built by Poky are placed in the
|
The images and kernels built by the Yocto Project are placed in the build directory in
|
||||||
<filename class="directory">tmp/deploy/images</filename> directory.
|
<filename class="directory">tmp/deploy/images</filename>.
|
||||||
Running qemux86 and qemuarm images is described in the
|
For information on how to run pre-built images such as <filename>qemux86</filename>
|
||||||
'Using Pre-Built Binaries and QEMU' section of the Yocto Project Quick Start.
|
and <filename>qemuarm</filename>, see the
|
||||||
See <ulink url="http://www.yoctoproject.org//docs/yocto-quick-start/yocto-project-qs.html"/>
|
<ulink url='http://www.yoctoproject.org//docs/yocto-quick-start/yocto-project-qs.html#using-pre-built'>
|
||||||
for the guide.
|
Using Pre-Built Binaries and QEMU</ulink> section in the
|
||||||
|
<ulink url='http://www.yoctoproject.org//docs/yocto-quick-start/yocto-project-qs.html'>
|
||||||
|
Yocto Project Quick Start</ulink>.
|
||||||
For information about how to install these images, see the documentation for your
|
For information about how to install these images, see the documentation for your
|
||||||
particular board/machine.
|
particular board/machine.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section id='usingpoky-debugging'>
|
<section id='usingpoky-debugging'>
|
||||||
@@ -213,15 +243,17 @@
|
|||||||
<section id='usingpoky-debugging-taskfailures'>
|
<section id='usingpoky-debugging-taskfailures'>
|
||||||
<title>Task Failures</title>
|
<title>Task Failures</title>
|
||||||
|
|
||||||
<para>The log file for shell tasks is available in <filename>${WORKDIR}/temp/log.do_taskname.pid</filename>.
|
<para>The log file for shell tasks is available in
|
||||||
For example, the "compile" task of busybox 1.01 on the ARM spitz machine might be
|
<filename>${WORKDIR}/temp/log.do_taskname.pid</filename>.
|
||||||
|
For example, the <filename>compile</filename> task of busybox 1.01 on the ARM spitz
|
||||||
|
machine might be
|
||||||
<filename>tmp/work/armv5te-poky-linux-gnueabi/busybox-1.01/temp/log.do_compile.1234</filename>.
|
<filename>tmp/work/armv5te-poky-linux-gnueabi/busybox-1.01/temp/log.do_compile.1234</filename>.
|
||||||
To see what BitBake runs to generate that log, look at the corresponding
|
To see what BitBake runs to generate that log, look at the corresponding
|
||||||
<filename>run.do_taskname.pid </filename> file located in the same directory.
|
<filename>run.do_taskname.pid </filename> file located in the same directory.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
Presently, the output from python tasks is sent directly to the console.
|
Presently, the output from Python tasks is sent directly to the console.
|
||||||
</para>
|
</para>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
@@ -230,28 +262,33 @@
|
|||||||
|
|
||||||
<para>
|
<para>
|
||||||
Any given package consists of a set of tasks.
|
Any given package consists of a set of tasks.
|
||||||
In most cases the series is: fetch, unpack, patch, configure,
|
The standard BitBake behavior in most cases is: <filename>fetch</filename>,
|
||||||
compile, install, package, package_write and build.
|
<filename>unpack</filename>,
|
||||||
The default task is "build" and any tasks on which it depends build first - hence,
|
<filename>patch</filename>, <filename>configure</filename>,
|
||||||
the standard BitBake behaviour.
|
<filename>compile</filename>, <filename>install</filename>, <filename>package</filename>,
|
||||||
Some tasks exist, such as devshell, that are not part of the default build chain.
|
<filename>package_write</filename>, and <filename>build</filename>.
|
||||||
If you wish to run a task that is not part of the default build chain you can use the
|
The default task is <filename>build</filename> and any tasks on which it depends
|
||||||
"-c" option in BitBake as follows:
|
build first.
|
||||||
|
Some tasks exist, such as <filename>devshell</filename>, that are not part of the
|
||||||
|
default build chain.
|
||||||
|
If you wish to run a task that is not part of the default build chain, you can use the
|
||||||
|
<filename>-c</filename> option in BitBake as follows:
|
||||||
<literallayout class='monospaced'>
|
<literallayout class='monospaced'>
|
||||||
$ bitbake matchbox-desktop -c devshell
|
$ bitbake matchbox-desktop -c devshell
|
||||||
</literallayout>
|
</literallayout>
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
If you wish to rerun a task use the force option "-f".
|
If you wish to rerun a task, use the <filename>-f</filename> force option.
|
||||||
For example, the following sequence forces recompilation after changing files in the
|
For example, the following sequence forces recompilation after changing files in the
|
||||||
working directory.
|
working directory.
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
<literallayout class='monospaced'>
|
<literallayout class='monospaced'>
|
||||||
$ bitbake matchbox-desktop
|
$ bitbake matchbox-desktop
|
||||||
[make some changes to the source code in the WORKDIR]
|
.
|
||||||
|
.
|
||||||
|
[make some changes to the source code in the working directory]
|
||||||
|
.
|
||||||
|
.
|
||||||
$ bitbake matchbox-desktop -c compile -f
|
$ bitbake matchbox-desktop -c compile -f
|
||||||
$ bitbake matchbox-desktop
|
$ bitbake matchbox-desktop
|
||||||
</literallayout>
|
</literallayout>
|
||||||
@@ -259,14 +296,14 @@
|
|||||||
|
|
||||||
<para>
|
<para>
|
||||||
This sequence first builds <filename>matchbox-desktop</filename> and then recompiles it.
|
This sequence first builds <filename>matchbox-desktop</filename> and then recompiles it.
|
||||||
The last command reruns all tasks, basically the packaging tasks, after the compile.
|
The last command reruns all tasks (basically the packaging tasks) after the compile.
|
||||||
BitBake recognizes that the "compile" task was rerun and therefore understands that the other
|
BitBake recognizes that the <filename>compile</filename> task was rerun and therefore
|
||||||
tasks also need to be run again.
|
understands that the other tasks also need to be run again.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
You can view a list of tasks in a given package by running the "listtasks" task.
|
You can view a list of tasks in a given package by running the
|
||||||
For example:
|
<filename>listtasks</filename> task as follows:
|
||||||
<literallayout class='monospaced'>
|
<literallayout class='monospaced'>
|
||||||
$ bitbake matchbox-desktop -c
|
$ bitbake matchbox-desktop -c
|
||||||
</literallayout>
|
</literallayout>
|
||||||
@@ -279,12 +316,13 @@
|
|||||||
|
|
||||||
<para>
|
<para>
|
||||||
Sometimes it can be hard to see why BitBake wants to build some other packages before a given
|
Sometimes it can be hard to see why BitBake wants to build some other packages before a given
|
||||||
package you've specified.
|
package you have specified.
|
||||||
The <filename>bitbake -g targetname</filename> command creates the <filename>depends.dot</filename> and
|
The <filename>bitbake -g targetname</filename> command creates the
|
||||||
<filename>task-depends.dot</filename> files in the current directory.
|
<filename>depends.dot</filename> and <filename>task-depends.dot</filename> files
|
||||||
|
in the current directory.
|
||||||
These files show the package and task dependencies and are useful for debugging problems.
|
These files show the package and task dependencies and are useful for debugging problems.
|
||||||
You can use the <filename>bitbake -g -u depexp targetname</filename> command to display the results
|
You can use the <filename>bitbake -g -u depexp targetname</filename> command to
|
||||||
in a more human-readable form.
|
display the results in a more human-readable form.
|
||||||
</para>
|
</para>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
@@ -292,10 +330,10 @@
|
|||||||
<title>General BitBake Problems</title>
|
<title>General BitBake Problems</title>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
You can see debug output from BitBake by using the "-D" option.
|
You can see debug output from BitBake by using the <filename>-D</filename> option.
|
||||||
The debug output gives more information about what BitBake
|
The debug output gives more information about what BitBake
|
||||||
is doing and the reason behind it.
|
is doing and the reason behind it.
|
||||||
Each "-D" option you use increases the logging level.
|
Each <filename>-D</filename> option you use increases the logging level.
|
||||||
The most common usage is <filename>-DDD</filename>.
|
The most common usage is <filename>-DDD</filename>.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@@ -312,19 +350,20 @@
|
|||||||
<title>Building with No Dependencies</title>
|
<title>Building with No Dependencies</title>
|
||||||
<para>
|
<para>
|
||||||
If you really want to build a specific <filename>.bb</filename> file, you can use
|
If you really want to build a specific <filename>.bb</filename> file, you can use
|
||||||
the command form <filename>bitbake -b somepath/somefile.bb</filename>.
|
the command form <filename>bitbake -b <somepath/somefile.bb></filename>.
|
||||||
This command form does not check for dependencies so you should use it
|
This command form does not check for dependencies so you should use it
|
||||||
only when you know its dependencies already exist.
|
only when you know its dependencies already exist.
|
||||||
You can also specify fragments of the filename and BitBake checks for a unique match.
|
You can also specify fragments of the filename.
|
||||||
|
In this case, BitBake checks for a unique match.
|
||||||
</para>
|
</para>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section id='usingpoky-debugging-variables'>
|
<section id='usingpoky-debugging-variables'>
|
||||||
<title>Variables</title>
|
<title>Variables</title>
|
||||||
<para>
|
<para>
|
||||||
The "-e" option dumps the resulting environment for
|
The <filename>-e</filename> option dumps the resulting environment for
|
||||||
either the configuration (no package specified) or for a
|
either the configuration (no package specified) or for a
|
||||||
specific package when specified with the "-b" option.
|
specific package when specified with the <filename>-b</filename> option.
|
||||||
</para>
|
</para>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
@@ -422,23 +461,23 @@
|
|||||||
|
|
||||||
<section id='usingpoky-debugging-others'>
|
<section id='usingpoky-debugging-others'>
|
||||||
<title>Other Tips</title>
|
<title>Other Tips</title>
|
||||||
<tip>
|
|
||||||
<para>
|
<para>
|
||||||
When adding new packages it is worth watching for undesireable items making their way
|
Here are some other tips that you might find useful:
|
||||||
into compiler command lines.
|
<itemizedlist>
|
||||||
For example, you do not want references to local system files like
|
<listitem><para>When adding new packages, it is worth watching for
|
||||||
<filename>/usr/lib/</filename> or <filename>/usr/include/</filename>.
|
undesireable items making their way into compiler command lines.
|
||||||
|
For example, you do not want references to local system files like
|
||||||
|
<filename>/usr/lib/</filename> or <filename>/usr/include/</filename>.
|
||||||
|
</para></listitem>
|
||||||
|
<listitem><para>If you want to remove the psplash boot splashscreen,
|
||||||
|
add <filename>psplash=false</filename> to the kernel command line.
|
||||||
|
Doing so prevents psplash from loading and thus allows you to see the console.
|
||||||
|
It is also possible to switch out of the splashscreen by
|
||||||
|
switching the virtual console (e.g. Fn+Left or Fn+Right on a Zaurus).
|
||||||
|
</para></listitem>
|
||||||
|
</itemizedlist>
|
||||||
</para>
|
</para>
|
||||||
</tip>
|
|
||||||
<tip>
|
|
||||||
<para>
|
|
||||||
If you want to remove the psplash boot splashscreen, add "psplash=false"
|
|
||||||
to the kernel command line.
|
|
||||||
Doing so prevents psplash from loading thus allowing you to see the console.
|
|
||||||
It is also possible to switch out of the splashscreen by
|
|
||||||
switching the virtual console (e.g. Fn+Left or Fn+Right on a Zaurus).
|
|
||||||
</para>
|
|
||||||
</tip>
|
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user