calamares/src/modules/contextualprocess/contextualprocess.conf

37 lines
1.4 KiB
Plaintext
Raw Normal View History

# Configuration for the contextual process job.
#
# Contextual processes are based on **global** configuration values.
# When a given global value (string) equals a given value, then
# the associated command is executed.
#
# The special configuration key *dontChroot* specifies whether
# the commands are run in the target system (default, value *false*),
# or in the host system. This key is not used for comparisons
# 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 "".
#
# Global configuration variables are not checked in a deterministic
# order, so do not rely on commands from one variable-check to
# always happen before (or after) checks on another
# variable. Similarly, the value-equality checks are not
# done in a deterministic order, but all of the value-checks
# for a given variable happen together.
#
2018-01-29 20:59:58 +01:00
# The values after a value sub-keys are the same kinds of values
# as can be given to the *script* key in the shellprocess module.
# See shellprocess.conf for documentation on valid values.
---
dontChroot: false
firmwareType:
efi:
- "-pkg remove efi-firmware"
- "-mkinitramfsrd -abgn"
bios: "-pkg remove bios-firmware"
"": "/bin/false no-firmware-type-set"