Doc: Update GSG for v0.5 version and launch and acrn.conf sample script

modify sbl_up2 version and scripts
This commit is contained in:
wenlingz
2019-01-16 11:11:09 +08:00
committed by Wang, Hongbo
parent b4a1dd2b56
commit 34b4294334
5 changed files with 25 additions and 25 deletions

View File

@@ -103,7 +103,7 @@ create_uos_images() {
echo mount laag_image >> .cleanup
mkdir -p laag_image/clearlinux
ister.py -t $LAAG_JSON -V $MIRRORURL -C $MIRRORURL ||
ister.py -t $LAAG_JSON --format=staging -V $MIRRORURL -C $MIRRORURL ||
{
echo "ister create clearlinux.img failed"
return 1

View File

@@ -90,14 +90,14 @@ An example of the configuration file ``uos.json``:
{ "disk" : "clearlinux.img", "partition" : 2, "type" : "ext4" } ],
"PartitionMountPoints" : [ { "disk" : "clearlinux.img", "partition" : 1, "mount" : "/boot" },
{ "disk" : "clearlinux.img", "partition" : 2, "mount" : "/" } ],
"Version": 27050,
"Version": 27230,
"Bundles": ["kernel-iot-lts2018", "openssh-server", "software-defined-cockpit", "os-core", "os-core-update"]
}
.. note::
To generate the image with a specified version, please modify
the "Version" argument, ``"Version": 26000`` instead
of ``"Version": 27050`` for example.
the "Version" argument, ``"Version": 2****`` instead
of ``"Version": 27230`` for example.
Clone the source code of ``acrn-hypervisor`` for building and use
``v0.5`` release for example:
@@ -118,7 +118,7 @@ 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 /path/to/acrn-hypervisor/
--clearlinux-version 27230 --laag-json uos.json --acrn-code-path /path/to/acrn-hypervisor/
.. note::
You must have root privileges to run ``create-up2-images.sh``.