This is command line tool for building Ubuntu Core images. It does follow ubuntu-image syntax. In addition, it supports building images in formats for various flash tools and SoCs.
- NXP: uuu flash tool
- Qualcomm: fastboot, qdl, QFIL
- Mediatek: native flash tool, fastboot
- Ambarella: AmbaUSB
-h,--helpShow this help message and exit"--snapInstall an extra snap, the snap argument can include additional information about the track|risk channel/branch with the following syntax: =<track|channel/branch> Examples:--snap go=1.14|stable--snap avahi.snap--revisionsSpecify a subuntu-core-image.revisions file referencing the exact revisions of the provided snaps which should be installed.seeds.manifestandubuntu-core-image.revisionsare auto-generated for each build.--preseedCreate pressed image. The tool has to run as root.--preseed-sign-keyName of the key to use to sign preseed assertion.--validationControl of the validation sets, choose 'ignore' or 'enforce'.--preseed-sysfs-overlayOverlay of sysfs to be used when building presseded image. This is required when building images with specific hw interfaces.--auto-import-assertionAuto import assertion file to be included in the root of the main writable partition. This assertion is imported once the system is fully seeded. A passed file does not need to have the correct file name; it will be renamed.--build-rawBuild raw disk images, instead of sparse ones.-O,--output-dirOutput directory.-w,--workdirWorking directory.-d,--debugPrint debug-ddPrint verbose debugs-v,--versionPring version info--disk-infoFile to be used as .disk/info on the image's rootfs. This file can contain useful information about the target image, like image identification data, system name, build timestamp, etc.
Support for Ubuntu Core 16/18 is no more supported by uc-image.