Skip to content

Commit 637a79d

Browse files
Geoffroy Van Cutsemjren1
authored andcommitted
Getting Started Guide: add instructions for other OSs
Add instructions on how to build the hypervisor and device model on other operating systems such as Ubuntu/Debian, Fedora/doc/Redhat and CentOS. Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
1 parent d92f640 commit 637a79d

File tree

1 file changed

+50
-13
lines changed

1 file changed

+50
-13
lines changed

doc/getting_started/index.rst

Lines changed: 50 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -281,32 +281,69 @@ Build ACRN from Source
281281
**********************
282282

283283
If you would like to build ACRN hypervisor and device model from source,
284-
follow these steps, using your NUC as a development system:
284+
follow these steps.
285285

286-
#. On your Clear Linux system, install the os-clr-on-clr bundle to get
287-
the necessary tools.
286+
Install build tools and dependencies
287+
====================================
288288

289-
.. code-block:: none
289+
ARCN development is supported on popular Linux distributions,
290+
each with their own way to install development tools:
291+
292+
* On a Clear Linux development system, install the ``os-clr-on-clr`` bundle to get
293+
the necessary tools:
294+
295+
.. code-block:: console
296+
297+
$ sudo swupd bundle-add os-clr-on-clr
298+
299+
* On a Ubuntu/Debian development system:
300+
301+
.. code-block:: console
302+
303+
$ sudo apt install git \
304+
gnu-efi \
305+
libssl-dev \
306+
libpciaccess-dev \
307+
uuid-dev
308+
309+
* On a Fedora/doc/Redhat development system:
290310

291-
# swupd bundle-add os-clr-on-clr
311+
.. code-block:: console
312+
313+
$ sudo dnf install gcc \
314+
libuuid-devel \
315+
openssl-devel \
316+
libpciaccess-devel
317+
318+
* On a CentOS development system:
319+
320+
.. code-block:: console
321+
322+
$ sudo yum install gcc \
323+
libuuid-devel \
324+
openssl-devel \
325+
libpciaccess-devel
326+
327+
Build the hypervisor and device model
328+
=====================================
292329

293330
#. Download the ACRN hypervisor and build it.
294331

295-
.. code-block:: none
332+
.. code-block:: console
296333
297-
# git clone https://github.com/projectacrn/acrn-hypervisor
298-
# cd acrn-hypervisor
299-
# make PLATFORM=uefi
334+
$ git clone https://github.com/projectacrn/acrn-hypervisor
335+
$ cd acrn-hypervisor
336+
$ make PLATFORM=uefi
300337
301338
The build results are found in the ``build`` directory.
302339

303340
#. Download the ACRN device model and build it.
304341

305-
.. code-block:: none
342+
.. code-block:: console
306343
307-
# git clone https://github.com/projectacrn/acrn-devicemodel
308-
# cd acrn-devicemodel
309-
# make
344+
$ git clone https://github.com/projectacrn/acrn-devicemodel
345+
$ cd acrn-devicemodel
346+
$ make
310347
311348
The build results are found in the ``build`` directory.
312349

0 commit comments

Comments
 (0)