Commit c4b7fef
committed
bin/kexec-select-boot/reboot/recovery: reuse reboot+DEBUG conditional prompt for recovery shell access, state where debug logs are in centralized way
Note for linuxboot#1888:
warn in code is used mostly to actually warn user of something requiring his attention, and pausing for 2 seconds.
Goal is:
die: blocking: tell user that something failed, requiring acknowledgement for corrective actions.
warn: display "WARNING:" prepended messages which pauses for 2 seconds prior of continuing. This is not an error, nor INFO
INFO: gives a trace to the user when in QUIET mode, under /tmp/debug.log related to core components output, typically related to measurements traces.
Consequently, putting what is currently under warn->INFO wold be console silenced. We want to get rid of manual "echo +++++" messages.
So it seems we lack what is currently named INFO to go into measurement_log, and INFO (green), warn (yellow) and die (red) messages to console.
Signed-off-by: Thierry Laurion <insurgo@riseup.net>1 parent b5cb7ae commit c4b7fef
2 files changed
Lines changed: 3 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | | - | |
324 | | - | |
325 | | - | |
326 | | - | |
327 | | - | |
| 317 | + | |
328 | 318 | | |
329 | 319 | | |
330 | 320 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
0 commit comments