Changes: document process changes

FIXES #2212
This commit is contained in:
Adriaan de Groot 2024-02-20 14:11:23 +01:00
parent 633d6bda0d
commit dc91255ff5
2 changed files with 21 additions and 1 deletions

View File

@ -9,11 +9,28 @@ the history of the 3.2 series (2018-05 - 2022-08).
# 3.3.4 (unreleased)
In this release, process jobmodules -- a particular kind of module
recognizable by `type: job` and `interface: process` in the descriptor
file -- undergo a large change to resemble *shellprocess* more.
Users of process jobmodules are encouraged to double-check the Functionality
of those modules in this release.
This release contains contributions from (alphabetically by first name):
- Adriaan de Groot
## Core ##
- Process jobs (a job type provided by Calamares core) now share more
code with *contextualprocess* and *shellprocess* jobs. The execution
mechanism is the same, and always invokes the shell, whether the command
runs in the host or in the target system. It is no longer necessary to
add `/bin/sh` in the *command* key -- this is always present.
## Modules ##
- *contextualprocess* and *shellprocess* can now set environment variables
as part of the configuration. See *shellprocess* documentation for details.
This is optional, and does not do anything that could not already be done
by putting `export VAR=value ;` in front of the command before.
# 3.3.3 (2024-02-24)

View File

@ -508,7 +508,10 @@ while the module type must be *job* or *jobmodule*.
The module-descriptor key *command* should have a string as value, which is
passed to the shell -- remember to quote it properly. It is generally
recommended to use a *shellprocess* job module instead (less configuration,
easier to have multiple instances).
easier to have multiple instances). There is no configuration outside
of the module-descriptor.
Optional keys are *timeout* and *chroot*.
`CMakeLists.txt` is *not* used for process jobmodules.