summaryrefslogtreecommitdiffstats
path: root/documentation/dev-manual/qemu.rst
diff options
context:
space:
mode:
authorMichael Opdenacker <michael.opdenacker@bootlin.com>2021-03-22 17:10:57 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-03-23 22:54:55 +0000
commita306baf850a826c89c83e4cfcd4629421c56f73f (patch)
treee7163f3899e27b005a7a510c80450f38d13e4d7b /documentation/dev-manual/qemu.rst
parent5de939f61c3d753fa7170e6e71ed31e1fe328d9a (diff)
downloadpoky-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/dev-manual/qemu.rst')
-rw-r--r--documentation/dev-manual/qemu.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/documentation/dev-manual/qemu.rst b/documentation/dev-manual/qemu.rst
index 766691b97b..c6bb9e9776 100644
--- a/documentation/dev-manual/qemu.rst
+++ b/documentation/dev-manual/qemu.rst
@@ -58,7 +58,7 @@ available. Follow these general steps to run QEMU:
58 environment script (i.e. :ref:`structure-core-script`): 58 environment script (i.e. :ref:`structure-core-script`):
59 :: 59 ::
60 60
61 $ cd ~/poky 61 $ cd poky
62 $ source oe-init-build-env 62 $ source oe-init-build-env
63 63
64 - If you installed a cross-toolchain, you can run the script that 64 - If you installed a cross-toolchain, you can run the script that
@@ -66,7 +66,7 @@ available. Follow these general steps to run QEMU:
66 the initialization script from the default ``poky_sdk`` directory: 66 the initialization script from the default ``poky_sdk`` directory:
67 :: 67 ::
68 68
69 . ~/poky_sdk/environment-setup-core2-64-poky-linux 69 . poky_sdk/environment-setup-core2-64-poky-linux
70 70
713. *Ensure the Artifacts are in Place:* You need to be sure you have a 713. *Ensure the Artifacts are in Place:* You need to be sure you have a
72 pre-built kernel that will boot in QEMU. You also need the target 72 pre-built kernel that will boot in QEMU. You also need the target