Script
A script that can be run on the host during Trident stages.
Characteristic | Value |
---|---|
Type | object |
Properties
content
(required)
Raw contents of the script.
Conflicts with:
path
Characteristic | Value |
---|---|
Type | string |
name
(required)
Name of the script.
Characteristic | Value |
---|---|
Type | string |
path
(required)
Path to a script in the execution OS.
Conflicts with:
content
Characteristic | Value |
---|---|
Type | string |
runOn
(required)
List of servicing types that the script should run on.
Characteristic | Value |
---|---|
Type | array |
-
Items of the array must have the type:
Characteristic Value Type ServicingTypeSelection
Link ServicingTypeSelection
arguments
(optional)
Arguments to pass to the script.
Characteristic | Value |
---|---|
Type | array |
-
Items of the array must have the type:
Characteristic Value Type string
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.
Characteristic | Value |
---|---|
Type | map |
-
Items of the map must have the type:
Characteristic Value Type string
interpreter
(optional)
Binary to run the script with. The default is /bin/sh
.
Characteristic | Value |
---|---|
Type | string |