blob: 3bba4223aee01d64a860fd48e0f863a922dc2943 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
=========================
Documentation Conventions
=========================
These conventions apply throughout the Yocto Project documentation.
Placeholders
============
Text enclosed in angle brackets is a placeholder. Replace it, including the
brackets, with a value of your own:
.. code-block:: none
SRCREV:pn-<recipe> = "${AUTOREV}"
Here, ``<recipe>`` stands for the name of your recipe. A placeholder is
never text to be copied as it stands, and an example containing one will
not work until every placeholder in it has been replaced.
Commands and prompts
====================
Commands are shown with the prompt that runs them, and the prompt is not
part of the command. Do not type it.
A ``$`` introduces a command you run as your normal user:
.. code-block:: console
$ bitbake core-image-minimal
Where a command needs administrative privileges on your
:term:`build host`, it is shown with ``sudo`` rather than with a root
prompt:
.. code-block:: console
$ sudo apt install gawk
A full prompt ending in ``#`` introduces a command run as ``root``, usually
on a target machine rather than on your :term:`build host`:
.. code-block:: console
root@machine:~# gdb /bin/cat
Within an example, a line beginning with ``#`` is a comment rather than a
command:
.. code-block:: text
# This is a comment, not a command to run as root.
$ bitbake core-image-minimal
|