Scotty commands#
usage: scotty [-h] [-d BUILD_DIR] [-o OUTPUT_DIR]
[--loglevel {debug,info,warning,error,critical}]
[--kas-loglevel {debug,info,warning,error,critical}]
[--manifest-revision MANIFEST_REVISION]
[--manifest-url MANIFEST_URL] [--feature-level FEATURE_LEVEL]
[--manifest-overlays-from MANIFEST_OVERLAYS_FROM] [--force-sync]
[--clean] [--extra-download EXTRA_DOWNLOADS] [--reconfigure]
[--refresh] [--repo-override REPO_OVERRIDE]
[--extra-conf EXTRA_CONFS] [--extra-env EXTRA_ENV]
[--sstate-mirrors SSTATE_MIRRORS] [--kvm]
{bitbake
--,command,docker-update,export,find,foreach,freeze,generate-docs,get-files,info,recipe-upgrade,runqemusetup,shell,update,upgrade,version}
...
scotty: S(imple)C(ore) O(pen) T(echnology) T(ool for) Y(ou)
options:
-h, --help
Manifest related options:
--manifest-revision MANIFEST_REVISION
Set manifest revision used (default: scarthgap)
--manifest-url MANIFEST_URL
Set manifest url (default: ssh://git@github.com/avnet-
embedded/simplecore-manifest.git)
--feature-level FEATURE_LEVEL
Manifest feature selection (default: ['simplecore',
'simplecore-bsp', 'simplecore-tools'])
--manifest-overlays-from MANIFEST_OVERLAYS_FROM
Automatically select overlays from this directory
(default: )
--force-sync Force manifest update (default: False)
--clean Remove local changes (default: False)
--extra-download EXTRA_DOWNLOADS
Add an extra git to downloadurl[;revision] (default:
[''])
Build related options:
--reconfigure Reconfigure the build (default: False)
--refresh Update the build resources (default: False)
--repo-override REPO_OVERRIDE
Override a specific manifest entry:
name;branch/revision (default: [''])
--extra-conf EXTRA_CONFS
Add an extra configuration entry in local.conf
(default: [''])
--extra-env EXTRA_ENV
Extra environment variables passed to the build
(default: [''])
--sstate-mirrors SSTATE_MIRRORS
Specifiy a sstate-mirror server (default: [''])
--kvm Use KVM (default: False)
Output related options:
-d BUILD_DIR, --build-dir BUILD_DIR
Set build subdirectory (default: build)
-o OUTPUT_DIR, --output-dir OUTPUT_DIR
Set the output dir (default: .)
--loglevel {debug,info,warning,error,critical}
Log level (default: info)
--kas-loglevel {debug,info,warning,error,critical}
Log level for kas (default: warning)
subcommand:
{bitbake --,command,docker-update,export,find,foreach,freeze,generate-docs,get-files,info,recipe-upgrade,runqemusetup,shell,update,upgrade,version}
bitbake (build) Build a Yocto target or run a specific task
command (--) Run a single command in Yocto environment
docker-update Update Scotty docker image
export Export the current configuration
find Find recipe information
foreach Execute a command in each repo
freeze Freeze a configuration file
get-files Returns path to one or more files
generate-docs Generate the documentation
info Info output from scotty
recipe-update Check for recipe upgrades
runqemu Run image in QEMU
setup Setup Yocto build directory
shell Open a shell in Yocto environment
update Update manifest
upgrade Check for configuration file upgrades
version Prints the scotty version
Used environment variable#
Some of the options are pre-filled using environemnt variables
option |
variable |
notes |
---|---|---|
–extra-conf |
SCOTTY_EXTRA_CONF |
‘;’ separated list |
–extra-download |
SCOTTY_EXTRA_DOWNLOAD |
space separated list |
–extra-env |
SCOTTY_EXTRA_ENV |
‘;’ separated list |
–feature-level |
SCOTTY_MANIFEST_FEATURES |
space separated list |
–manifest-overlays-from |
SCOTTY_MANIFEST_OVERLAYS |
|
–manifest-revision |
SCOTTY_DEFAULT_MANIFEST_REVISION |
|
–repo-override |
SCOTTY_REPO_OVERRIDE |
space separated list |
–sstate-mirrors |
SCOTTY_SSTATE_MIRRORS |
‘;’ separated list |
as part of the interactive configuration the following can be pre-defined by environemnt variables
option |
variable |
notes |
---|---|---|
Accept NXP EULA |
ACCEPT_FSL_EULA |
set to “1” |
Accepted licenses |
LICENSE_FLAGS_ACCEPTED |
space separated list |
Used distribution |
DISTRO |
|
Used features |
SCOTTY_FEATURE_LAYERS |
space separated list |
Used machine |
MACHINE |
|
Used overlays |
SCOTTY_OVERLAYS |
space separated list |