-
Notifications
You must be signed in to change notification settings - Fork 44
/
Copy pathREADME.installer
38 lines (26 loc) · 1014 Bytes
/
README.installer
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
note: This is outdated, needs an update. ([email protected])
README.installer
----------------
Short documentation on installer
The installer is written in YCP: installation.ycp
It implements a linked list of sub-modules to model a next/back controlled
workflows. The list is defined as 'list modules'.
Calling a module
----------------
Every module is called with at least 3 arguments
Args(0) if 'back' button is enabled
Args(1) if 'next' button is enabled
Args(2) boolean: true if we're going backwards
(module was entered by clicking 'back' on the next
dialogue)
Result of a module call
-----------------------
The result value of a module is a quoted symbol
or nil if an error occured
The normal value of the result is the 'exit' code from the module.
`next User pressed 'Next'
`back User pressed 'Back'
`auto Module did nothing (no user interaction)
fallthrough to next (or previous) module
`again Call module again (no change in workflow)
`cancel User pressed 'Cancel' (if available)