Expand description
Module defining the command line usage.
§Available subcommands
§List Available Devices
$ ./target/release/mkrawimg list --format FORMAT
While FORMAT
can be one of the following:
pretty
: table format which contains basic information.simple
: simple column-based format splitted by tab character ('\t'
).
§Build images for one specific device
Building images requires the root privileges.
# ./target/release/mkrawimg build --variants VARIANTS -- DEVICE
VARIANTS
: distribution variants, can be one or more of thebase
,desktop
,server
. If not specified, all variants will be built.DEVICE
: A string identifying the target device, can be one of the following:- Device ID (defined in
device.toml
). - Device alias (defined in
device.toml
). - The path to the
device.toml
file.
- Device ID (defined in
§Build Images for All Devices (in the registry)
Building images requires the root privileges.
# ./target/release/mkrawimg build-all --variants VARIANTS
§Check validity of the device specification files
$ ./target/release/mkrawimg check
For the advanced usage, please go to Cmdline
.
Structs§
- Command line usage
Enums§
- Specifies the compression format for the output image.
- Overrides the filesystem type of the root filesystem.