From 9d696be0c653addf0a2e3f538c73a39deb4ad6e8 Mon Sep 17 00:00:00 2001 From: Xie Zhengtian Date: Thu, 10 Jan 2019 09:35:03 +0800 Subject: [PATCH] doc: modify the directories of files needed --- doc/tutorials/using_sbl_on_up2.rst | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/tutorials/using_sbl_on_up2.rst b/doc/tutorials/using_sbl_on_up2.rst index 34fb3d7d5..2f5390239 100644 --- a/doc/tutorials/using_sbl_on_up2.rst +++ b/doc/tutorials/using_sbl_on_up2.rst @@ -112,10 +112,14 @@ Build SOS and LaaG image: $ sudo -s # ./acrn-hypervisor/devicemodel/samples/up2/create-up2-images.sh --images-type all \ - --clearlinux-version 27050 --laag-json uos.json --acrn-code-path ~/acrn-hypervisor/ + --clearlinux-version 27050 --laag-json uos.json --acrn-code-path /path/to/acrn-hypervisor/ .. note:: - Run ``create-up2-images.sh`` as root. + You must have root privileges to run ``create-up2-images.sh``. + +.. note:: + Please modify the ``--acrn-code-path`` argument to the diretory + of ``acrn-hypervisor``. .. note:: When building images, you can modify the ``--clearlinux-version`` argument @@ -134,16 +138,12 @@ in ``partition_desc.ini`` if needed. .. code-block:: none - $ wget https://raw.githubusercontent.com/projectacrn/acrn-hypervisor/master/doc/tutorials/gpt_ini2bin.py - $ wget https://raw.githubusercontent.com/projectacrn/acrn-hypervisor/master/doc/tutorials/partition_desc.ini + $ cd ~/acrn-hypervisor/doc/tutorials/doc/tutorials/ $ sudo -s # python2 gpt_ini2bin.py partition_desc.ini>partition_desc.bin -We still need the configuration file for flashing: - -.. code-block:: none - - $ wget https://raw.githubusercontent.com/projectacrn/acrn-hypervisor/master/doc/tutorials/flash_LaaG.json +We still need the configuration file ``flash_LaaG.json`` for flashing, +which is also in the directory ``~/acrn-hypervisor/doc/tutorials/``. .. table:: :widths: auto