Commit ad8e9c2
committed
Avoid boot loop when there are dnf network issues
Only try to reboot when upgradePackages is true, and check the
network connectivity before checking if a restart is needed.
Also don't hide the stderr output, in case of any errors, and
also show the list of packages that are requiring the reboot.
Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>1 parent 4a3f723 commit ad8e9c2
File tree
2 files changed
+14
-3
lines changed- pkg/cidata/cidata.TEMPLATE.d
- boot
2 files changed
+14
-3
lines changedLines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
14 | | - | |
15 | | - | |
16 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
17 | 23 | | |
18 | 24 | | |
19 | 25 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
35 | 40 | | |
36 | 41 | | |
37 | 42 | | |
| |||
0 commit comments