-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
[root@fbdebian flexbuild]$ var_build_image -h
Usage: var_build_image <machine> <components> <distro> [options]
Options:
--clean Clean the specified distribution
--cleanall Clean all build environments
--config Specify custom config file (default: sdk-var.yml)
Supported Debian distributions:
debian:base - Minimal Debian installation
debian:server - Debian with server packages
debian:desktop - Debian with desktop environment
Examples:
var_build_image imx8mm-var-dart debian:desktop "uboot linux"
var_build_image imx8mm-var-dart debian:desktop --clean
var_build_image --cleanall
the top line: Usage: var_build_image <machine> <components> <distro> [options] doesn't match the enforced argument order...
*)
if [ -z "$MACHINE" ]; then
MACHINE="$1"
elif [ -z "$DISTRO" ]; then
DISTRO="$1"
elif [ -z "$COMPONENTS" ]; then
COMPONENTS="$1"
else
echo "Error: Unknown argument '$1'"
show_usage
exit 1
fi
shift
;;
which will parse: MACHINE then DISTRO then COMPONENTS
There is a common example shown which shows the arguments in correct order:
var_build_image imx8mm-var-dart debian:desktop "uboot linux"
Metadata
Metadata
Assignees
Labels
No labels