summaryrefslogtreecommitdiff
path: root/README
blob: 1fc0650aaf76956828a15197a791f71d31b2c4c5 (plain)
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62

flow of dialogs/user-interactions:
  -----------------------------------------------------------------------------------------
  |                                        LEGEND                                         |
  |---------------------------------------------------------------------------------------|
  | entry-point: | FunctionName()              | function name                            |
  | entry-point: | FunctionName()->[STATE_VAR] | function setting state var(s) implicitly |
  | prompt:      | ->[STATE_VAR]*              | prompt setting state var(s)              |
  | prompt:      | ->translation_key           | prompt setting no state var(s)           |
  | prompt:      | ->`external_program`        | prompt launching an interactive program  |
  | antecedent:  | ?_resp                      | switch on user response                  |
  | antecedent:  | ?_[STATE_VAR]*              | switch on state var(s)                   |
  | consequent:  | -->FunctionName             | proceed to next function                 |
  |----------------------------------------------------------------------------------------
  |  NoticeIntro()                      |  Init()->[INSTALL][KEYRING]              |
  |  -->Init                            |  -->SelectLogins                         |
  |--------------------------------------------------------------------------------|
  |  SelectLogins()                     |  NoticeCustomize()                       |
  |  ->ROOT_PASS                        |  -->SelectDefaults                       |
  |  ->dlg_user-*                       |                                          |
  |    ?_yes                            |                                          |
  |      ->USER_LOGIN                   |                                          |
  |      ->USER_PASS-->NoticeCustomize  |                                          |
  |    ?_no----------->NoticeCustomize  |                                          |
  |-------------------------------------|------------------------------------------|
  |  SelectDefaults()                   |  SelectPartition()                       |
  |  ->[INSTALL]&[BASE]&[INIT]          |  ->DEVICE                                |
  |    [WMDE]                           |  ->PART_METHOD                           |
  |    [HOSTNAME]&[TIMEZONE]&[KEYMAP]&  |    ?_auto---->SelectBoot                 |
  |               [LOCALES]&[LANGUAGE]  |    ?_manual-->SelectBoot                 |
  |    ?_yes-->SelectPartition          |                                          |
  |    ?_no--->SelectPartition          |                                          |
  |-------------------------------------|------------------------------------------|
  |  SelectBoot()                       |  SelectBase()                            |
  |  ->BOOT                             |  ?_[INSTALL]&[BASE]&[INIT]-->SelectWmde  |
  |  ?_grub-->NoticeReady               |  ->INSTALL                               |
  |  ?_none-->NoticeReady               |  ->BASE                                  |
  |                                     |  ->INIT--------------------->SelectWmde  |
  |-------------------------------------|------------------------------------------|
  |  SelectWmde()->[WMDE]               |  SelectEnv()                             |
  |  ?_[WMDE]-->SelectEnv               |  ?_[HOSTNAME]&[TIMEZONE]&[KEYMAP]&       |
  |  ->dlg_wmde                         |    [LOCALES]&[LANGUAGE]-->NoticeReady    |
  |    ?_yes                            |  ->HOSTNAME                              |
  |      ->WMDE-->SelectEnv             |  ->TIMEZONE                              |
  |    ?_no------>SelectEnv             |  ->KEYMAP                                |
  |                                     |  ->LOCALES                               |
  |                                     |  ->LANGUAGE-->NoticeReady                |
  |-------------------------------------|------------------------------------------|
  |  NoticeReady()                      |  Partition()                             |
  |  -->Partition                       |    ?_[PART_METHOD:auto]-->InstallPkgs    |
  |                                     |    ?_[PART_METHOD:manual]                |
  |                                     |      ->`partitioner`                     |
  |                                     |      ->ROOT_PART                         |
  |                                     |      ->BOOT_PART                         |
  |                                     |      ->HOME_PART--------->InstallPkgs    |
  |-------------------------------------|------------------------------------------|
  |  InstallPkgs()                      |  ConfigChroot()                          |
  |  -->ConfigChroot                    |  -->NoticeDone                           |
  |-------------------------------------|------------------------------------------|
  |  NoticeDone()                       |  Cleanup()                               |
  |  -->Cleanup                         |  -->exit                                 |
  ----------------------------------------------------------------------------------