Commit fb97eeb
committed
harden ACL installFIPS with explicit addon existence check
Adds a pre-flight check that /boot/acl/uki-addons/fips.addon.efi exists
before attempting to install it, producing a clear error message if the
source addon is missing. The Packer invocation already runs the script
under bash -eux so a missing addon would fail the build either way, but
the explicit check yields a much clearer diagnostic than the raw
'install: cannot stat' stderr.1 parent f85e769 commit fb97eeb
1 file changed
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
38 | 44 | | |
39 | 45 | | |
40 | 46 | | |
| |||
0 commit comments