2018-01-10 14:58:15 +01:00
|
|
|
# Configuration for the shell process job.
|
|
|
|
#
|
|
|
|
# Executes a list of commands found under the key *script*.
|
|
|
|
# If the top-level key *dontChroot* is true, then the commands
|
|
|
|
# are executed in the context of the live system, otherwise
|
|
|
|
# in the context of the target system. In all of the commands,
|
|
|
|
# `@@ROOT@@` is replaced by the root mount point of the **target**
|
|
|
|
# system from the point of view of the command (for chrooted
|
|
|
|
# commands, that will be */*).
|
|
|
|
#
|
|
|
|
# If a command starts with "-" (a single minus sign), then the
|
|
|
|
# return value of the command following the - is ignored; otherwise,
|
|
|
|
# a failing command will abort the installation. This is much like
|
|
|
|
# make's use of - in a command.
|
2018-01-29 15:49:21 +01:00
|
|
|
#
|
|
|
|
# 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).
|
2018-01-10 14:58:15 +01:00
|
|
|
---
|
|
|
|
dontChroot: false
|
|
|
|
script:
|
|
|
|
- "-touch @@ROOT@@/tmp/thingy"
|
|
|
|
- "/usr/bin/false"
|