mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +00:00
Do not assume working from $HOME
In the "Yocto Project Quick Build" instructions (https://docs.yoctoproject.org/brief-yoctoprojectqs/index.html#) there is an inconsistency that impacts several documents... People are first instructed to clone the poky git repository, but not mentioning from which directory. Then, it's consistent to instruct people to run "cd poky/". However, later in the instructions, readers are instructed to run "cd ~/poky", which assumes that cloning poky was done from the home directory. Many other places in the documentation make such an assumption. This change fixes this, and makes no assumption on where people have chosen to store their data, in particular where they cloned the "poky" repository. This also fixes a few whitespace issues. (From yocto-docs rev: fd4e365c85df212d7ed70fc1abb3657a4a88b294) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
5de939f61c
commit
a306baf850
@@ -28,7 +28,7 @@ universal, the list includes them just in case:
|
||||
to allow for matching recipe names. For example, suppose you have an
|
||||
append file named as follows:
|
||||
::
|
||||
|
||||
|
||||
busybox_1.21.%.bbappend
|
||||
|
||||
That append file
|
||||
@@ -76,7 +76,7 @@ universal, the list includes them just in case:
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
$ cd $HOME/poky
|
||||
$ cd poky
|
||||
$ source oe-init-build-env
|
||||
|
||||
- Create the Build Directory inside your home directory and
|
||||
@@ -84,19 +84,16 @@ universal, the list includes them just in case:
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
$ cd $HOME
|
||||
$ source poky/oe-init-build-env test-builds
|
||||
|
||||
- Provide a directory path and specifically name the Build
|
||||
Directory. Any intermediate folders in the pathname must exist.
|
||||
This next example creates a Build Directory named
|
||||
``YP-&POKYVERSION;`` in your home directory within the existing
|
||||
directory ``mybuilds``:
|
||||
``YP-&POKYVERSION;`` within the existing directory ``mybuilds``:
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
$ cd $HOME
|
||||
$ source $HOME/poky/oe-init-build-env $HOME/mybuilds/YP-&POKYVERSION;
|
||||
$ source poky/oe-init-build-env mybuilds/YP-&POKYVERSION;
|
||||
|
||||
.. note::
|
||||
|
||||
|
||||
Reference in New Issue
Block a user