@@ -12,24 +12,24 @@ Build UOS image in Clear Linux native
12
12
In order to build out the image of UOS,
13
13
please follow these steps in Clear Linux native:
14
14
15
- #. In Clear Linxu native, please install ``ister `` at first,
16
- `` ister `` is a template based installer for linux,
17
- which is inclued in the bundle ``os-installer `` in Clear Linux .
15
+ #. In Clear Linux native, install ``ister `` (a template-based
16
+ installer for Linux) inclued in the Clear Linux bundle
17
+ ``os-installer ``.
18
18
For more information about ``ister ``,
19
19
please visit https://github.com/bryteise/ister.
20
20
21
21
.. code-block :: none
22
22
23
- # sudo swupd bundle-add os-installer
23
+ $ sudo swupd bundle-add os-installer
24
24
25
25
#. After installation is complete, use ``ister.py `` to
26
26
generate the image for UOS with the configuration in
27
27
``uos-image.json ``:
28
28
29
29
.. code-block :: none
30
30
31
- # cd ~
32
- # sudo ister.py -t uos-image.json
31
+ $ cd ~
32
+ $ sudo ister.py -t uos-image.json
33
33
34
34
An example of the configuration file ``uos-image.json ``
35
35
is shown as below:
@@ -81,6 +81,8 @@ please follow these steps in Clear Linux native:
81
81
To generate the image with a specified version,
82
82
please modify with the ``"Version" `` argument,
83
83
and we can set ``"Version": 26550 `` for example.
84
+ If you want to build out the latest, please
85
+ set ``"Version": "latest" `` here.
84
86
85
87
Here we will use ``"Version": 26550 `` for example,
86
88
and the image of UOS called ``uos.img `` will be generated
@@ -138,7 +140,7 @@ Start the User OS (UOS)
138
140
install.d
139
141
org.clearlinux.iot-lts2018.4.19.0-26
140
142
141
- #. And you need to adjust the ``/usr/share/acrn/samples/nuc/launch_uos.sh ``
143
+ #. Adjust the ``/usr/share/acrn/samples/nuc/launch_uos.sh ``
142
144
script to match your installation.
143
145
These are the couple of lines you need to modify:
144
146
@@ -148,13 +150,13 @@ Start the User OS (UOS)
148
150
-k /mnt/usr/lib/kernel/default-iot-lts2018 \
149
151
150
152
.. note ::
151
- UOS image ``uos.img `` stored in the directory ``~/ ``
152
- and UOS kernel ``default-iot-lts2018 `` stored ``/mnt/usr/lib/kernel/ ``.
153
+ UOS image ``uos.img `` is in the directory ``~/ ``
154
+ and UOS kernel ``default-iot-lts2018 `` is in ``/mnt/usr/lib/kernel/ ``.
153
155
154
156
#. You are now all set to start the User OS (UOS):
155
157
156
158
.. code-block :: none
157
159
158
- sudo /usr/share/acrn/samples/nuc/launch_uos.sh
160
+ $ sudo /usr/share/acrn/samples/nuc/launch_uos.sh
159
161
160
162
You are now watching the User OS booting up!
0 commit comments