From a306baf850a826c89c83e4cfcd4629421c56f73f Mon Sep 17 00:00:00 2001 From: Michael Opdenacker Date: Mon, 22 Mar 2021 17:10:57 +0100 Subject: 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 Signed-off-by: Richard Purdie --- documentation/brief-yoctoprojectqs/index.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'documentation/brief-yoctoprojectqs') 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. .. code-block:: shell - $ cd ~/poky + $ cd poky $ source oe-init-build-env You had no conf/local.conf file. This configuration file has therefore been 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: .. code-block:: shell - $ cd ~/poky + $ cd poky $ git clone https://github.com/kraj/meta-altera.git Cloning into 'meta-altera'... remote: Counting objects: 25170, done. @@ -337,7 +337,7 @@ Follow these steps to add a hardware layer: .. code-block:: shell - $ cd ~/poky/build + $ cd poky/build $ bitbake-layers add-layer ../meta-altera NOTE: Starting bitbake server... Parsing recipes: 100% |##################################################################| Time: 0:00:32 @@ -374,7 +374,7 @@ The following commands run the tool to create a layer named .. code-block:: shell - $ cd ~/poky + $ cd poky $ bitbake-layers create-layer meta-mylayer NOTE: Starting bitbake server... Add your new layer with 'bitbake-layers add-layer meta-mylayer' -- cgit v1.2.3-54-g00ecf