Skip to main content

Script

A script that can be run on the host during Trident stages.

CharacteristicValue
Typeobject

Properties

content (required)

Raw contents of the script.

Conflicts with:

  • path
CharacteristicValue
Typestring

name (required)

Name of the script.

CharacteristicValue
Typestring

path (required)

Path to a script in the execution OS.

Conflicts with:

  • content
CharacteristicValue
Typestring

runOn (required)

List of servicing types that the script should run on.

CharacteristicValue
Typearray
  • Items of the array must have the type:

    CharacteristicValue
    TypeServicingTypeSelection
    LinkServicingTypeSelection

arguments (optional)

Arguments to pass to the script.

CharacteristicValue
Typearray
  • Items of the array must have the type:

    CharacteristicValue
    Typestring

environmentVariables (optional)

Environment variables that are needed by the script. These will be set before running the script. UPDATE_KIND and TARGET_ROOT values are set by default to use.

CharacteristicValue
Typemap
  • Items of the map must have the type:

    CharacteristicValue
    Typestring

interpreter (optional)

Binary to run the script with. The default is /bin/sh.

CharacteristicValue
Typestring