5.9.2.4.1. Raw Mode

The general form of the wic command in raw mode is:

     $ wic create image_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.

          -o OUTDIR, --outdir=OUTDIR
             The name of a directory in which to create image.

          -i PROPERTIES_FILE, --infile=PROPERTIES_FILE
             The name of a file containing the values for image
             properties as a JSON file.

          -e IMAGE_NAME, --image-name=IMAGE_NAME
             The name of the image from which to use the artifacts
             (e.g. core-image-sato).

          -r ROOTFS_DIR, --rootfs-dir=ROOTFS_DIR
             The path to the /rootfs directory to use as the
             .wks rootfs source.

          -b BOOTIMG_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.

          -k KERNEL_DIR, --kernel-dir=KERNEL_DIR
             The path to the directory containing the kernel to use
             in the .wks boot image.

          -n NATIVE_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.
                        

Note

You do not need root privileges to run Wic. In fact, you should not run as root when using the utility.