aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenoît Ganne <bganne@cisco.com>2023-06-07 11:33:31 +0200
committerDave Wallace <dwallacelf@gmail.com>2023-06-30 20:45:46 +0000
commit8aa47b7a76118a451e04549bf78bece1d49bf78d (patch)
treefef9f6ad03761251632a4915e761bc3cfafafbde
parentccd30709585939c3202c05af0dfda2aca670e8b7 (diff)
docs: fix packages path in tutorial
Type: fix Change-Id: I84bbb28490d9c66c5bf55839ab75b3aec1bf5854 Signed-off-by: Benoît Ganne <bganne@cisco.com>
-rw-r--r--docs/developer/build-run-debug/building.rst8
1 files changed, 3 insertions, 5 deletions
diff --git a/docs/developer/build-run-debug/building.rst b/docs/developer/build-run-debug/building.rst
index d01eff7bf8f..ca7fdef0222 100644
--- a/docs/developer/build-run-debug/building.rst
+++ b/docs/developer/build-run-debug/building.rst
@@ -255,7 +255,7 @@ Once the packages are built they can be found in the build-root directory.
.. code-block:: console
- $ ls *.deb
+ $ ls build-root/*.deb
If the packages are built correctly, then this should be the corresponding output:
@@ -271,12 +271,10 @@ For Ubuntu:
.. code-block:: console
- $ sudo bash
- # dpkg -i *.deb
+ $ sudo dpkg -i build-root/*.deb
For Centos or Redhat:
.. code-block:: console
- $ sudo bash
- # rpm -ivh *.rpm
+ $ sudo rpm -ivh build-root/*.rpm