Skip to content
Snippets Groups Projects
Commit a18188f5 authored by Luca Seritan's avatar Luca Seritan
Browse files

docs: Update Linux Flavour docs to describe adding debug-tweaks

Linux Flavour docs mentioned logging in as root with no password, but
this is only possible with debug-tweaks enabled, which was not
previously documented.

Closes #707



Signed-off-by: default avatarLuca Seritan <luca.seritan@huawei.com>
parent 9429b899
No related branches found
No related tags found
No related merge requests found
...@@ -30,11 +30,25 @@ Supported machines (default in **bold**): ...@@ -30,11 +30,25 @@ Supported machines (default in **bold**):
Build steps example: Build steps example:
* Set up the enviornment:
.. code-block:: console .. code-block:: console
$ TEMPLATECONF=../oniro/flavours/linux . ./oe-core/oe-init-build-env build-oniro-linux $ TEMPLATECONF=../oniro/flavours/linux . ./oe-core/oe-init-build-env build-oniro-linux
* Enable ``debug-tweaks`` in order to create a default user by appending the following line to your ``conf/local.conf``:
.. code-block:: console
EXTRA_IMAGE_FEATURES += "debug-tweaks"
* Start the build:
.. code-block:: console
$ bitbake oniro-image-base $ bitbake oniro-image-base
You can test the image built for the qemux86-64 target by issuing: You can test the image built for the qemux86-64 target by issuing:
.. code-block:: console .. code-block:: console
...@@ -47,7 +61,7 @@ After successful bootup, you will be dropped into a login shell: ...@@ -47,7 +61,7 @@ After successful bootup, you will be dropped into a login shell:
qemux86-64 login: qemux86-64 login:
Default login is *root* without a password. If ``debug-tweaks`` is enabled, default login is *root* without a password.
After login you will see the shell prompt: After login you will see the shell prompt:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment