From 92570722a20f05ba14fb836ce1e206bba8ec6569 Mon Sep 17 00:00:00 2001
From: Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
Date: Tue, 8 Jun 2021 16:43:58 +0000
Subject: [PATCH] docs,flavours: add wic to linux runqemu commands

Ever since we've landed
https://git.ostc-eu.org/OSTC/OHOS/meta-ohos/-/merge_requests/147 the way
to invoke `runqemu` has changed slightly. Update stale documentation
sections that were left out.

Closes: https://git.ostc-eu.org/OSTC/OHOS/meta-ohos/-/issues/67
Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
---
 docs/allscenarios-quick-build.rst     | 2 +-
 docs/build-flavours/linux-flavour.rst | 2 +-
 flavours/linux/conf-notes.txt         | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/allscenarios-quick-build.rst b/docs/allscenarios-quick-build.rst
index fb619325..28041d4a 100644
--- a/docs/allscenarios-quick-build.rst
+++ b/docs/allscenarios-quick-build.rst
@@ -81,7 +81,7 @@ Once the image is built, you can run a Qemu X86-64 instance using the provided s
 
 .. code-block:: console
 
-      $ MACHINE=qemux86-64 runqemu
+      $ MACHINE=qemux86-64 runqemu allscenarios-image-base wic
 
 If the host has a VT-capable CPU, you can pass the ``kvm`` argument for better
 performance. Check ``runqemu``'s help message for all available arguments.
diff --git a/docs/build-flavours/linux-flavour.rst b/docs/build-flavours/linux-flavour.rst
index 4eaa8101..ae450a10 100644
--- a/docs/build-flavours/linux-flavour.rst
+++ b/docs/build-flavours/linux-flavour.rst
@@ -37,7 +37,7 @@ You can test the image built for the qemux86-64 target by issuing:
 
 .. code-block:: console
 
-    $ runqemu qemux86-64
+    $ runqemu qemux86-64 allscenarios-image-base wic
 
 After successful bootup, you will be dropped into a login shell:
 
diff --git a/flavours/linux/conf-notes.txt b/flavours/linux/conf-notes.txt
index 5a4a2848..465fb47f 100644
--- a/flavours/linux/conf-notes.txt
+++ b/flavours/linux/conf-notes.txt
@@ -24,5 +24,5 @@ or via command line, e.g.:
 
 You can also run generated qemu images with a command:
 
-    $ runqemu qemux86-64 qemuparams="-nographic"
+    $ runqemu qemux86-64 qemuparams="-nographic" allscenarios-image-base wic
 
-- 
GitLab