update-pack

NAME

update-pack - Create an update package for a target device.

SYNOPSIS

update-pack -ar APP_NAME
update-pack -m FIRMWARE_FILE
update-pack -d UPDATE_FILE
update-pack -h
update-pack –help
update-pack -v

DESCRIPTION

Creates a package containing update instructions and/or content to be installed on a target device.

When creating an update pack for a target device,

Options used when creating an update pack:

-ar APP_NAME Specify an application to be removed from the target.

-m FIRMWARE_FILE Add a modem firmware image to the update for installation on the target.

-o FILE_NAME Specify output update file name. If not specified, a default file name is generated. If "-" is specified, then output will be sent to the standard output stream.

Other options:

-v Prints the Legato framework version.

-d UPDATE_FILE Prints an update file's manifest to the standard output stream.

-h –help Print this help text.

Notes:

Update files for system update are generated by 'mksys'. Update files for app install/update are generated by 'mkapp'.

App update/remove files can be concatenated together (but firmware and system updates cannot be combined with anything).

Examples:

Create an update package helloWorld.remove.update that removes the helloWorld app.

update-pack -o helloWorld.remove.update -ar helloWorld.ar7

Create update package which will install helloWorld and remove OldApp on an AR7XXX.

update-pack -o OldApp.remove.update -ar OldApp cat helloWorld.ar7.update OldApp.remove.update > InstallRemove.update

Display manifest information from an update file.

update-pack -d helloWorld.update


Copyright (C) Sierra Wireless Inc. Use of this work is subject to license.