[contextualprocess] Document command lists
- Show that a command list is also allowed, not just a single command. Refer to shellprocess for more documentation.
This commit is contained in:
parent
778feb50e8
commit
ea179eaef4
@ -4,18 +4,18 @@
|
|||||||
# When a given global value (string) equals a given value, then
|
# When a given global value (string) equals a given value, then
|
||||||
# the associated command is executed.
|
# the associated command is executed.
|
||||||
#
|
#
|
||||||
# Configuration consists of keys for global variable names,
|
|
||||||
# and the sub-keys are strings to compare to the variable's value.
|
|
||||||
# If the variable has that particular value, the corresponding
|
|
||||||
# value is executed as a shell command in the target environment.
|
|
||||||
#
|
|
||||||
# You can check for an empty value with "".
|
|
||||||
#
|
|
||||||
# The special configuration key *dontChroot* specifies whether
|
# The special configuration key *dontChroot* specifies whether
|
||||||
# the commands are run in the target system (default, value *false*),
|
# the commands are run in the target system (default, value *false*),
|
||||||
# or in the host system. This key is not used for comparisons
|
# or in the host system. This key is not used for comparisons
|
||||||
# with global configuration values.
|
# with global configuration values.
|
||||||
#
|
#
|
||||||
|
# Configuration consists of keys for global variable names (except
|
||||||
|
# *dontChroot*), and the sub-keys are strings to compare to the
|
||||||
|
# variable's value. If the variable has that particular value, the
|
||||||
|
# corresponding value (script) is executed.
|
||||||
|
#
|
||||||
|
# You can check for an empty value with "".
|
||||||
|
#
|
||||||
# If a command starts with "-" (a single minus sign), then the
|
# If a command starts with "-" (a single minus sign), then the
|
||||||
# return value of the command following the - is ignored; otherwise,
|
# return value of the command following the - is ignored; otherwise,
|
||||||
# a failing command will abort the installation. This is much like
|
# a failing command will abort the installation. This is much like
|
||||||
@ -31,6 +31,8 @@
|
|||||||
---
|
---
|
||||||
dontChroot: false
|
dontChroot: false
|
||||||
firmwareType:
|
firmwareType:
|
||||||
efi: "-pkg remove efi-firmware"
|
efi:
|
||||||
|
- "-pkg remove efi-firmware"
|
||||||
|
- "-mkinitramfsrd -abgn"
|
||||||
bios: "-pkg remove bios-firmware"
|
bios: "-pkg remove bios-firmware"
|
||||||
"": "/bin/false no-firmware-type-set"
|
"": "/bin/false no-firmware-type-set"
|
||||||
|
@ -12,6 +12,11 @@
|
|||||||
# return value of the command following the - is ignored; otherwise,
|
# return value of the command following the - is ignored; otherwise,
|
||||||
# a failing command will abort the installation. This is much like
|
# a failing command will abort the installation. This is much like
|
||||||
# make's use of - in a command.
|
# make's use of - in a command.
|
||||||
|
#
|
||||||
|
# The value of *script* may be:
|
||||||
|
# - a single string; this is one command that is executed.
|
||||||
|
# - a list of strings; these are executed one at a time, by
|
||||||
|
# separate shells (/bin/sh -c is invoked for each command).
|
||||||
---
|
---
|
||||||
dontChroot: false
|
dontChroot: false
|
||||||
script:
|
script:
|
||||||
|
Loading…
Reference in New Issue
Block a user