The general form of the 'wic' command in raw mode is:
$ wic createimage_name
.wks [options
] [...] Where:image_name
.wks An OpenEmbedded kickstart file. You can provide your own custom file or use a file from a set of existing files as described by further options. -oOUTDIR
, --outdir=OUTDIR
The name of a directory in which to create image. -iPROPERTIES_FILE
, --infile=PROPERTIES_FILE
The name of a file containing the values for image properties as a JSON file. -eIMAGE_NAME
, --image-name=IMAGE_NAME
The name of the image from which to use the artifacts (e.g.core-image-sato
). -rROOTFS_DIR
, --rootfs-dir=ROOTFS_DIR
The path to the/rootfs
directory to use as the.wks
rootfs source. -bBOOTIMG_DIR
, --bootimg-dir=BOOTIMG_DIR
The path to the directory containing the boot artifacts (e.g./EFI
or/syslinux
) to use as the.wks
bootimg source. -kKERNEL_DIR
, --kernel-dir=KERNEL_DIR
The path to the directory containing the kernel to use in the.wks
boot image. -nNATIVE_SYSROOT
, --native-sysroot=NATIVE_SYSROOT
The path to the native sysroot containing the tools to use to build the image. -s, --skip-build-check Skips the build check. -D, --debug Output debug information.
wic
.
In fact, you should not run as root when using the
utility.