fioctl targets offline-update

Download Target content for an offline update

Synopsis

Download Target content for an offline update

fioctl targets offline-update <target-name> <dst> --tag <tag> [--prod | --wave <wave-name>] [--expires-in-days <days>] [--tuf-only] [flags]

Examples

# Download update content of the wave target #1451 for "intel-corei7-64" hardware type
fioctl targets offline-update intel-corei7-64-lmp-1451 /mnt/flash-drive/offline-update-content --wave wave-deployment-001

# Download update content of the production target #1451 tagged by "release-01" for "intel-corei7-64" hardware type
fioctl targets offline-update intel-corei7-64-lmp-1451 /mnt/flash-drive/offline-update-content --tag release-01 --prod

# Download update content of the CI target #1451 tagged by "devel" for "raspberrypi4-64" hardware type
fioctl targets offline-update raspberrypi4-64-lmp-1448 /mnt/flash-drive/offline-update-content --tag devel --expires-in-days 15

Options

    --allow-multiple-targets   Allow multiple targets to be stored in the same <dst> directory
-e, --expires-in-days int      Desired metadata validity period in days (default 30)
-h, --help                     help for offline-update
    --no-apps                  Skip fetching Target Apps
    --prod                     Instruct to fetch content of production Target
    --tag string               Target tag
-m, --tuf-only                 Fetch only TUF metadata
    --wave string              Instruct to fetch content of wave Target; a wave name should be specified

Options inherited from parent commands

-c, --config string    config file (default is $HOME/.config/fioctl.yaml)
-f, --factory string   Factory to list targets for
-t, --token string     API token from https://app.foundries.io/settings/tokens/
-v, --verbose          Print verbose logging

SEE ALSO