Running Wic in cooked mode leverages off artifacts in
the Build Directory.
In other words, you do not have to specify kernel or
root filesystem locations as part of the command.
All you need to provide is a kickstart file and the
name of the image from which to use artifacts by using
the "-e" option.
Wic looks in the Build Directory (e.g.
tmp/deploy/images/
machine
)
for artifacts.
The general form of the wic
command using Cooked Mode is as follows:
$ wic createwks_file
-eIMAGE_NAME
Where:wks_file
: An OpenEmbedded kickstart file. You can provide your own custom file or use a file from a set of existing files provided with the Yocto Project release. required argument: -eIMAGE_NAME
, --image-nameIMAGE_NAME
name of the image to use the artifacts from e.g. core- image-sato