diff options
author | Michael Opdenacker <michael.opdenacker@bootlin.com> | 2021-03-22 17:10:57 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-03-23 22:54:55 +0000 |
commit | a306baf850a826c89c83e4cfcd4629421c56f73f (patch) | |
tree | e7163f3899e27b005a7a510c80450f38d13e4d7b /documentation/brief-yoctoprojectqs | |
parent | 5de939f61c3d753fa7170e6e71ed31e1fe328d9a (diff) | |
download | poky-a306baf850a826c89c83e4cfcd4629421c56f73f.tar.gz |
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>
Diffstat (limited to 'documentation/brief-yoctoprojectqs')
-rw-r--r-- | documentation/brief-yoctoprojectqs/index.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/documentation/brief-yoctoprojectqs/index.rst b/documentation/brief-yoctoprojectqs/index.rst index 63083cb13d..11c67bc351 100644 --- a/documentation/brief-yoctoprojectqs/index.rst +++ b/documentation/brief-yoctoprojectqs/index.rst | |||
@@ -176,7 +176,7 @@ an entire Linux distribution, including the toolchain, from source. | |||
176 | 176 | ||
177 | .. code-block:: shell | 177 | .. code-block:: shell |
178 | 178 | ||
179 | $ cd ~/poky | 179 | $ cd poky |
180 | $ source oe-init-build-env | 180 | $ source oe-init-build-env |
181 | You had no conf/local.conf file. This configuration file has therefore been | 181 | You had no conf/local.conf file. This configuration file has therefore been |
182 | created for you with some default values. You may wish to edit it to, for | 182 | created for you with some default values. You may wish to edit it to, for |
@@ -293,7 +293,7 @@ Follow these steps to add a hardware layer: | |||
293 | 293 | ||
294 | .. code-block:: shell | 294 | .. code-block:: shell |
295 | 295 | ||
296 | $ cd ~/poky | 296 | $ cd poky |
297 | $ git clone https://github.com/kraj/meta-altera.git | 297 | $ git clone https://github.com/kraj/meta-altera.git |
298 | Cloning into 'meta-altera'... | 298 | Cloning into 'meta-altera'... |
299 | remote: Counting objects: 25170, done. | 299 | remote: Counting objects: 25170, done. |
@@ -337,7 +337,7 @@ Follow these steps to add a hardware layer: | |||
337 | 337 | ||
338 | .. code-block:: shell | 338 | .. code-block:: shell |
339 | 339 | ||
340 | $ cd ~/poky/build | 340 | $ cd poky/build |
341 | $ bitbake-layers add-layer ../meta-altera | 341 | $ bitbake-layers add-layer ../meta-altera |
342 | NOTE: Starting bitbake server... | 342 | NOTE: Starting bitbake server... |
343 | Parsing recipes: 100% |##################################################################| Time: 0:00:32 | 343 | Parsing recipes: 100% |##################################################################| Time: 0:00:32 |
@@ -374,7 +374,7 @@ The following commands run the tool to create a layer named | |||
374 | 374 | ||
375 | .. code-block:: shell | 375 | .. code-block:: shell |
376 | 376 | ||
377 | $ cd ~/poky | 377 | $ cd poky |
378 | $ bitbake-layers create-layer meta-mylayer | 378 | $ bitbake-layers create-layer meta-mylayer |
379 | NOTE: Starting bitbake server... | 379 | NOTE: Starting bitbake server... |
380 | Add your new layer with 'bitbake-layers add-layer meta-mylayer' | 380 | Add your new layer with 'bitbake-layers add-layer meta-mylayer' |