Commit 6ef8a8e
authored
secboot: preinstall check only permits VM during testing (#16620)
* preinstall_sb: restore using ignore action for VM
We relaxed in snapd 2.72 the preinstall check to allow installation in
VMs.
Now that we have the action API, an ignore action will be available to
the rest of the system and users. Restore this.
However, keep the current behaviour for nested tests as
muinstaller does not support interactions to ignore errors.
* preinstall_sb_test: Adapt the test to new defaults
New defaults does not permit VM.1 parent 043577c commit 6ef8a8e
2 files changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
83 | | - | |
84 | 84 | | |
85 | | - | |
86 | | - | |
| 85 | + | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
297 | | - | |
| 297 | + | |
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
| |||
0 commit comments