[Bug] Missing items in build documentation
Under section Installation Requirements and Dependencies on Developer Guide: - create a user - add the user to Docker group Closes-Bug: 1799611 Change-Id: I39e95b096bdf12f8ed76237066fc9a3f17cadcdb Signed-off-by: Abraham Arce <abraham.arce.moreno@intel.com>
This commit is contained in:
parent
0b40b03837
commit
cac178a60c
|
@ -66,17 +66,36 @@ You first need to update the local database list of available packages:
|
||||||
Installation Requirements and Dependencies
|
Installation Requirements and Dependencies
|
||||||
******************************************
|
******************************************
|
||||||
|
|
||||||
|
^^^^
|
||||||
|
User
|
||||||
|
^^^^
|
||||||
|
|
||||||
|
1. Make sure you are a non-root user with sudo enabled when you build the
|
||||||
|
StarlingX ISO. You also need to either use your existing user or create a
|
||||||
|
separate *<user>*:
|
||||||
|
|
||||||
|
.. code:: sh
|
||||||
|
|
||||||
|
$ sudo useradd -m -d /home/<user> <user>
|
||||||
|
|
||||||
|
2. Your *<user>* should have sudo privileges:
|
||||||
|
|
||||||
|
.. code:: sh
|
||||||
|
|
||||||
|
$ sudo sh -c "echo '<user> ALL=(ALL:ALL) ALL' >> /etc/sudoers"
|
||||||
|
$ sudo su -c <user>
|
||||||
|
|
||||||
^^^
|
^^^
|
||||||
Git
|
Git
|
||||||
^^^
|
^^^
|
||||||
|
|
||||||
1. Install the required packages on the Ubuntu host system:
|
3. Install the required packages on the Ubuntu host system:
|
||||||
|
|
||||||
.. code:: sh
|
.. code:: sh
|
||||||
|
|
||||||
$ sudo apt-get install make git curl
|
$ sudo apt-get install make git curl
|
||||||
|
|
||||||
2. Make sure to setup your identity with the following two commands.
|
4. Make sure to set up your identity using the following two commands.
|
||||||
Be sure to provide your actual name and email address:
|
Be sure to provide your actual name and email address:
|
||||||
|
|
||||||
.. code:: sh
|
.. code:: sh
|
||||||
|
@ -88,16 +107,22 @@ Git
|
||||||
Docker CE
|
Docker CE
|
||||||
^^^^^^^^^
|
^^^^^^^^^
|
||||||
|
|
||||||
3. Install the required Docker CE packages in the Ubuntu host system. See
|
5. Install the required Docker CE packages in the Ubuntu host system. See
|
||||||
`Get Docker CE for
|
`Get Docker CE for
|
||||||
Ubuntu <https://docs.docker.com/install/linux/docker-ce/ubuntu/#os-requirements>`__
|
Ubuntu <https://docs.docker.com/install/linux/docker-ce/ubuntu/#os-requirements>`__
|
||||||
for more information.
|
for more information.
|
||||||
|
|
||||||
|
6. Log out and log in to add your *<user>* to the Docker group:
|
||||||
|
|
||||||
|
.. code:: sh
|
||||||
|
|
||||||
|
$ sudo usermod -aG docker <user>
|
||||||
|
|
||||||
^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^
|
||||||
Android Repo Tool
|
Android Repo Tool
|
||||||
^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
4. Install the required Android Repo Tool in the Ubuntu host system. Follow
|
7. Install the required Android Repo Tool in the Ubuntu host system. Follow
|
||||||
the steps in the `Installing
|
the steps in the `Installing
|
||||||
Repo <https://source.android.com/setup/build/downloading#installing-repo>`__
|
Repo <https://source.android.com/setup/build/downloading#installing-repo>`__
|
||||||
section.
|
section.
|
||||||
|
|
Loading…
Reference in New Issue